[Dnsmasq-discuss] dnsmasq doesn't pick up search domains

Matus UHLAR - fantomas uhlar at fantomas.sk
Thu Jun 4 11:44:33 BST 2020


On 04.06.20 08:17, Benzler, Andreas (INE) wrote:
>The installation is just simple:
>
>port=53
>domain-needed (doesn't matter with or without)
>bogus-priv
>resolv-file=/etc/dnsmasq-resolv.conf
>strict-order
>server=8.8.8.8
>server=8.8.4.4
>address=/somedomain.net/192.168.0.1
>interface=enp4s0f0
>except-interface=lo
>expand-hosts
>
>/etc/dnsmasq-resolv.conf
>search intranet.somedomain.edu. somedomain.edu.
>
>ping mybox (mybox.intranet.somedomain.edu.)
>
>nslookup mybox
>Server:		xx.xx.xx.xx
>Address:	xx.xx.xx.xx#53
>
>Non-authoritative answer:
>*** Can't find mybox: No answer
>
>but fqn works mybox.intranet.somedomain.edu.
>
>????
>
>please explain.

try the --domain option.
note that usually adding .domain is not a job of DNS server, but a job of
system resolver.


-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"Where do you want to go to die?" [Microsoft]



More information about the Dnsmasq-discuss mailing list