DNS resolver problem / host override
-
Im trying to setup some lancache.
in my DNS resolver i have added lancache.steamcontent.com to an intern IP address as a host override.
When i ping to that domain i still get the real IP of this domain.
When i do a ping via pfsense gui it gives the correct local IP.
When i do a lookup it shows real IP on both computer and router. -
@musicwizard said in DNS resolver problem / host override:
When i ping to that domain i still get the real IP of this domain
Of course not.
Check for yourself :
Under host override :and from now on :
24.11-RELEASE][root@pfSense.bhf.tld]/root: host lancache.steamcontent.com lancache.steamcontent.com has address 1.2.3.4
Or do you mean you test from some other device ?
Ok, from a PC, same test :C:\Users\Gauche>nslookup lancache.steamcontent.com Serveur : pfSense.bhf.tld Address: 2a01:cb19:1917:a6eb:92ec:77ff:fe29:392c Nom : lancache.steamcontent.com Address: 1.2.3.4
As you can see, my PC uses pfSense for DNS requests.
If your PC uses some one else ... yeah, in that case you have put your DNS override on that "somewhere" device.@musicwizard said in DNS resolver problem / host override:
When i do a lookup
What command ? From where ?
-
Maybe im doing it in the wrong way. But if any of my systems go to or uses lancache it should go to my internal IP and not to the Real outside ip from Valve in this case.
SO i use Ping and nslookup etc to see where the hosts goes and if it goes to my internal IP 192.x.x.x than its ok.
-
@musicwizard said in DNS resolver problem / host override:
SO i use Ping and nslookup etc to see where the hosts goes
Bottom line : check what DNS is used on these devices.
If it's pfSense, then your good, as you've informed pfSense that "lancache.steamcontent.com" is "1.2.3.4", so, that will be the answer. -
@Gertjan my computer is using my pfsense DNS but not all is working well. Going to reinstall it anyway on a different device and start the config from scratch.