[Dnsmasq-discuss] Interface name in /etc/resolv.conf with network-manager
Albert ARIBAUD
albert.aribaud at free.fr
Sun Apr 10 13:51:56 BST 2016
Bonjour,
Le Sat, 09 Apr 2016 19:18:16 +0200
Leandro Noferini <lnoferin at cybervalley.org> a écrit:
> Albert ARIBAUD <albert.aribaud at free.fr> writes:
>
>
> [...]
>
> >> >> # Generated by resolvconf
> >> >> search cybervalley.orglan
> >> >> nameserver 10.150.29.2
>
> [...]
>
> >> > Try using --dhcp-option-force to force-send option 119 (domain
> >> > search) to the client laptop.
> >>
> >> Thanks for your answer and please excuse me for the delay.
> >>
> >> I wrote a line like this in my /etc/dnsmasq.conf
> >>
> >> dhcp-option=119,cybervalley.org
> >>
> >> but nothing has changed.
> >>
> >> What more could I do?
> >
> > What does /etc/resolv.conf contain when the laptop network
> > interface is down, or better yet, when it never comes up after boot?
>
> If I stop network-manager or if I switch off the network adapter
> (using the option from network-manager control for gnome3) I get this
> little different /etc/resolv.conf:
>
> # Generated by NetworkManager
> search cybervalley.org lan
> nameserver 10.150.29.2
>
> Note the space between the real domain and the word lan!
>
> The real same file I get rebooting with the network adapter switched
> off.
So it would appear that dnsmasq already sends the right domain search
option, and the issue is indeed with network manager.
Amicalement,
--
Albert.
More information about the Dnsmasq-discuss
mailing list