[Dnsmasq-discuss] dnsmasq dynamic DNS?

Ross Boylan ross at biostat.ucsf.edu
Wed Sep 23 02:41:04 BST 2009


On Tue, 2009-09-22 at 07:44 +0100, Simon Kelley wrote:
> Ross Boylan wrote:
> > dnsmasq seems to be handing out IPs and domains OK, but querying it does
> > not return the newly registered machine.  Is this supposed to work?  If
> > so, how can I diagnose and fix it?
.....
> Two things to check:
> 
> 1) Add log-queries to /etc/dnsmasq.conf and restart it. You should be 
> able to see test queries in the syslog. That confirms that the DNS 
> replies are coming from where you think they are.
> 
> 2) Look at /var/lib/misc/dnsmasq.leases. The line for your VM should 
> have its name. If there's only an asterix in the name field, 
There was.
> then the 
> DHCP client in the VM is not supplying a name when it asks for a DHCP 
> lease. A quick re-configuration in /etc/dhclient.conf should fix that.
It did.  Thank you very much.

I'm not sure why dhcp3-client wasn't picking up the hostname from the
general system; the documents seem to imply it should.

Ross





More information about the Dnsmasq-discuss mailing list