[Dnsmasq-discuss] Possible to set search in resolv.conf to more than one?

/dev/rob0 rob0 at gmx.co.uk
Tue May 20 17:03:39 BST 2008


On Tue May 20 2008 10:13:52 Michael Perkonigg wrote:
> I wonder if it is possible to set the value of search in resolv.conf
> to more than one domain.

This is not a dnsmasq matter, it is handled by your system resolver 
libraries. See resolver(5) or resolv.conf(5).

> My scenario is as following:
> I have a real domain with DMZ server and a local NAT subnet. I would
> like to provide my local NAT net with a seperate DNS (the real subnet
> has one). The NAT net has a different domain now (like
> 'localdomain'). Is there a way to configure the dnsmasq so I can
> reach the external (but company-internal) servers without having to
> use fully-qualified names?

Sure, you could put entries in /etc/hosts for the DMZ hosts.

> I got another problem too, I set the NTP option in dnsmasq.conf but
> the debug output of my dhclient doesn't show it.

No idea about that. My client (dhcpcd) works fine with the 
dnsmasq-assigned ntp.conf.

> Oh, version is 2.35 on Debian etch.
-- 
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header



More information about the Dnsmasq-discuss mailing list