Problem in host override in DNS resolver
-
Hello,
I am using DNS resolver to resolve some internal LAN ip's to specific ip's as required. How can i resolve hostname without .com in the parent domain of host field. Screen shot is attached below. Is it necessary for the parent domain of host field to have .com in it? Please help me out.In the given example whenever i try to ping kam-b from my kama machine it fails to ping. Both the ip's 15.212 and 15.213 have pf sense as its Gateway and DNS.
-
@gulzoa712 said in Problem in host override in DNS resolver:
without .com in the parent domain
there is nothing saying you have to use .com - but you should be using an actually fully qualified domain name. kama is just a tld.. k.master is something.
If you want your clients to resolve via a hostname, then set them up to use search suffix. If you have no other domain you want to use locally then you should be using the now standard domain for use locally home.arpa
So to resolve kama.home.arpa via just kama your search suffix for your clients would be home.arpa now if you ask for just kama your client would actually ask for the fqdn and it would resolve.
I use local.lan locally, so if client just pings nas - notice it comes back fully qualified.
-
is this what you saying and referring to man. Do i need to change anything else? because now if i still try to ping from 15.213 to 15.212 it doesn't ping. and also ping kmaster returns nothing.
-
@gulzoa712 no they wouldn't answer ping.. they are not valid fqdn..
Your kmaster.home.arpa would resolve - but not going to resolve with just kmaster unless your search suffix on your client is actually set to home.arpa
is 15.213 and .212 actually DNS? Why are you pointing pfsense to those for dns? Are you even forwarding - unless your forwarding there is almost no reason to set dns in general. Out of the box pfsense resolves, it does not need you to set any dns unless your going to forward to them.