[Dnsmasq-discuss] One LAN host reported differently for some reason - why?

Chris Green cl at isbd.net
Thu Dec 1 19:07:09 GMT 2011


On Thu, Dec 01, 2011 at 03:41:45PM +0000, Simon Kelley wrote:
> On 01/12/11 15:09, Chris Green wrote:
> > reported differently for some reason:-
> >
> >      chris$ host chris
> >      chris.zbmc.eu has address 192.168.1.4
> >      chris$ host wiki
> >      wiki.zbmc.eu has address 192.168.1.4
> >      wiki.zbmc.eu is an alias for zbmc.eu.
> >      wiki.zbmc.eu is an alias for zbmc.eu.
> >      zbmc.eu mail is handled by 10 zbmc.eu.
> >      chris$ host boat
> >      boat.zbmc.eu has address 192.168.1.4
> >      chris$ host info
> >      info.zbmc.eu has address 192.168.1.4
> >      chris$
> >
> > Can anyone explain why this might be and/or what I may have
> > misconfigured? (By the way zbmc.eu is a 'real' domain and some services
> > for it run on machine 'chris').
> >
> 
> "is an alias for" if host-speak for CNAMES, and the CNAME seems to be 
> coming from the global DNS:
> 
> srk at spike:~/dnsmasq-2.59$ dig wiki.zbmc.eu
> 
> ; <<>> DiG 9.5.1-P3 <<>> wiki.zbmc.eu
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21679
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
> 
> ;; QUESTION SECTION:
> ;wiki.zbmc.eu.			IN	A
> 
> ;; ANSWER SECTION:
> wiki.zbmc.eu.		10800	IN	CNAME	zbmc.eu.
> zbmc.eu.		10800	IN	A	84.45.228.40
> 
> ;; Query time: 43 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Thu Dec  1 15:37:38 2011
> ;; MSG SIZE  rcvd: 60
> 
Aha, yes!  At one time I had several CNAME entries in the zone file, I'd
forgotten that one was still there.  Thank you.
> 
> 
> Something like
> 
> local=/zbmc.eu/
> 
> should help insulate you internal view of the DNS from the external one.
> 
Looking at the man page that looks like just what I need.


> What version of dnsmasq are you using?
> 
2.52


All sorted now, thanks very much!  :-)
-- 
Chris Green



More information about the Dnsmasq-discuss mailing list