Override Hosts not working with DNS Resolver
-
Hi all,
In PFsense, I have several servers that get a static IP through the DHCP server. I have one server in particular that I would like to add a host override for in the DNS resolver...and I would like to have the other servers' hostname registered in the DNS resolver.
So, I've ticked the box: Register DHCP static mappings in the DNS Resolver.
It works, I can resolve the hostnames of all the servers as expected.
Then I add a hostname override.
Save and apply changes.
When I run nslookup and use the PFsense IP address as the server.
NSlookup returns two IP address for the server that I created a hostname override for.
It returns the DHCP IP 1st, and the override IP 2nd.
EG: server.mydomain.com returns
Server: [10.x.x.1]
Address: 10.x.x.1Name: server.mydomain.com
Addresses: 10.x.x.168 <- DHCP static IP
10.x.x.1 <- Override IP addressWhen I untick, " Register DHCP static mappings in the DNS Resolver." ... Save and Apply.
The nslookup returns the override IP as expected.
EG: server.mydomain.com returns
Server: [10.x.x.1]
Address: 10.x.x.1Name: server.mydomain.com
Addresses: 10.x.x.1 <- Override IP addressIs this normal? It is possible to get pfsense to return only the override IP? instead of both IPs?