I would say that you need to change the server's /etc/resolv.conf to
point to 127.0.0.1 as the nameserver...
On 2015-08-04 7:39 AM, Mayk Eskilla wrote:
Resend, had to loose HTML coding in my mailer, sry for that!
My dnsmasq server does a fine job offering dhcp leases to clients and
nameservice lookup as a gateway.
Only one feature is missing on my todo list:
Clients can resolve each others hostname, but the gateway itself can't resolve
the clients hostname he leased an address to.
Something in my configuration most be wrong or missing:
Here's my gateway configuration, the clients don't run dnsmasq ...
cat /etc/dnsmasq.conf
interface=eth0
dhcp-leasefile=/tmp/dnsmasq.leases
dhcp-lease-max=20
dhcp-range=192.168.1.10,192.168.1.50,255.255.255.0,24h
dhcp-option=3,192.168.1.1
dhcp-authoritative
domain=ServerD
stop-dns-rebind
...and the hosts file on my gateway, where dnsmasq is running
cat /etc/hosts
192.168.1.1 SRV.ServerD SRV
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
cat /etc/hostname
SRV
hostname -s
SRV
hostname -f
SRV.ServerD
cat /tmp/dnsmasq.leases
1438759931 MY:MA:CA:DD:RE:SS 192.168.1.23 CLIENT1 *
Can somebody tell me what's wrong in that setup, so SRV can't resolve to
CLIENT1 as well?
Regards,
Mayk
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
--
Daryl Richards
Isle Technical Services Inc.
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss