Thursday, January 3, 2019

domain name system - dnsmasq, address of host with no TLD with address=

We want dnsmasq to resolve a name for a local host. When using the address=/host/address syntax, if host has no TLD (as shown), it does not resolve. It turns it into a FQDN, which causes it to return the name of the local Microsoft domain controller.



For example, if we have this:




address=/domain.com/192.168.1.45
address=/server1/192.168.1.100
address=/server2/192.168.1.200


A ping for server1 or server2 will return 192.168.1.45, with the FQDN showing server1.domain.com (even though we don't specify that in the ping).



I've check the docs, this and other sites, but I can't even find anyone that's having this same issue, much less a resolution.




Ideas?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...