[Dnsmasq-discuss] Local domains and local hosts

Lars Noodén lars at umich.edu
Fri Sep 21 15:06:08 BST 2007


Simon Kelley wrote:
> Just to be clear, the problem is that
> 
> local=/mysubdomain.mydomain.fi/
> address=/apt-cacher.mysubdomain.mydomain.fi/192.168.123.45
> 
> in /etc/dnsmasq.conf
> 
> returns both the correct address and an error, for
> apt-cacher.mysubdomain.mydomain.fi.

Yes.  It returns both the correct address, plus an error with host but
not with dig.  I notice the error with whatever Ubuntu is using for
installation (wget + maybe some other things)

> Please could you repeat the test, using "dig" instead of "host", dig
> gives clearer information about exactly what is being returned.

 ; <<>> DiG 9.3.4 <<>> apt-cacher.mysubdomain.mydomain.fi
 ;; global options:  printcmd
 ;; Got answer:
 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62820
 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

 ;; QUESTION SECTION:
 ;apt-cacher.mysubdomain.mydomain.fi.   IN      A

 ;; ANSWER SECTION:
 apt-cacher.mysubdomain.mydomain.fi. 0  IN      A       192.168.123.45

 ;; Query time: 15 msec
 ;; SERVER: 192.168.123.1#53(192.168.123.1)
 ;; WHEN: Fri Sep 21 16:53:48 2007
 ;; MSG SIZE  rcvd: 61

> ... What version of dnsmasq are

  dnsmasq-2.40

Regards,
-Lars



More information about the Dnsmasq-discuss mailing list