[Dnsmasq-discuss] Interface name in /etc/resolv.conf with network-manager (was: Interface-name not injecting name into cache)
Albert ARIBAUD
albert.aribaud at free.fr
Wed Apr 6 22:38:05 BST 2016
Hi LEandro,
Le Wed, 06 Apr 2016 22:37:55 +0200
Leandro Noferini <lnoferin at cybervalley.org> a écrit:
> Ciao a tutti,
>
> I think my problem is similar to the one from the original post so I
> use this thread.
>
> I have a server with dnsmasq (version 2.72-3+deb8u from debian stable)
> doing dhcp and dns.
>
> In my dnsmasq.conf I have this line:
>
> dhcp-range=lan,10.150.29.100,10.150.29.249,255.255.255.0,12h
>
> When I try to connect with my laptop with network-manager (version
> 1.1.93-1 from debian unstable) I get the correct address (the laptop
> has a fixed one) but I get this /etc/resolv.conf
>
> # Generated by resolvconf
> search cybervalley.orglan
> nameserver 10.150.29.2
>
> As you can see the search domain is incorrect.
>
> The other clients, android phones, computer with older network-manager
> versions and other OS and whatever does not have this problem.
>
> What could I look for?
Try using --dhcp-option-force to force-send option 119 (domain search)
to the client laptop.
Amicalement,
--
Albert.
More information about the Dnsmasq-discuss
mailing list