DNS issue local webserver resolve with public IP
-
Greetings to All,
I've already configured pfblocker-NG for DNS blackhole on lan and added those IP in DNS Resolver custom list which I want them to be bypass for pfblocker-ng .
I have 2 local web server which are accessible via inter as well. Now issue is when any of my local user access that domain name it send them to internet/public, even I use ping hostname it resolve into public instead of local.
Looking forward to your kind response.
Regards -
@scorpoin
Add host overrides for these hostnames to your DNS pointing to the internal IPs. -
@viragomann Thanks
I already done that but no use. let me observe it again test it again.
-
@scorpoin
Possibly the browser uses DoH. -
@viragomann said in DNS issue local webserver resolve with public IP:
uses DoH
May be but how do I prevent DoH of browser . Any idea
-
@scorpoin said in DNS issue local webserver resolve with public IP:
May be but how do I prevent DoH of browser . Any idea
There might be better places to ask this. It depends on the browser naturally.
For instance Firefox: https://support.mozilla.org/en-US/kb/firefox-dns-over-https