[Dnsmasq-discuss] host resolved local and remote records too

Papp Tamas tompos at martos.bme.hu
Thu Jan 17 15:12:11 GMT 2013


hi All,

I don't find the appropriate configuration for a situation.

$ host machine.domain.com
machine.domain.com has address 10.0.0.156
machine.domain.com is an alias for fw.domain.com.
machine.domain.com is an alias for fw.domain.com.


hosts file entry:

10.0.0.156	machine machine.domain.com


Ouside:

$ host machine.domain.com 8.8.8.8
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:

machine.domain.com is an alias for fw.chemaxon.com.
fw.domain.com has address 1.1.1.1


So dnsmasq is configured to resolve machine.domain.com to a local IP address, it works fine.
However in the internet domain.com is a real domain and there is the hostname as a CNAME record. And 
among with the masked hostname dnsmasq resolves the CNAME record too.


Why is that? How can I avoid this behaviour?


Thank you,
tamas



More information about the Dnsmasq-discuss mailing list