Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Interface - Overview - DNS Server location?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Interface - Overview - DNS Server location? (Read 1911 times)
Chrome
Jr. Member
Posts: 50
Karma: 1
Interface - Overview - DNS Server location?
«
on:
June 07, 2022, 02:10:58 pm »
I am trying to figure out why my WAN interface has OPENDNS servers listed. I highly doubt my ISP has assigned them...and I can't seen to find the setting in the OPNSense interface. I did use OPENDNS at one point...but not for years. Maybe there's a file in shell that hasn't been updated correctly, or that I manually overwrote years ago? Any ideas?
Yes, I've checked SYSTEM - SETTINGS - GENERAL, the OPENDNS servers are NOT listed there. I don't have Services - OpenDNS enabled.
Logged
axsdenied
Full Member
Posts: 199
Karma: 9
Re: Interface - Overview - DNS Server location?
«
Reply #1 on:
June 07, 2022, 11:12:45 pm »
I'm fairly certain the only way your WAN side would get DNS servers if assigned by your ISP. Even if you specified your WAN IP without DHCP you'd still get those.
At the same time it's irrelevant. By default you control what DNS servers you want your internal network devices to use. If you don't want to use the ones assigned by the ISP, specify your own or point them to unbound which is enabled by default on OPNsense.
Logged
OPNsense 24.7.7 running on:
Dell Optiplex 3050
Intel I5-7600 @ 3.5Ghz (4 Cores)
Intel I350-T4 Nic
8G DDR4
256G SSD
Chrome
Jr. Member
Posts: 50
Karma: 1
Re: Interface - Overview - DNS Server location?
«
Reply #2 on:
June 08, 2022, 01:30:29 am »
You're right, it really doesn't matter. To my curiosity, I guess it does. I'd like to figure out why the OPENDNS servers are showing up there?
I plugged my computer into the modem, and pulled an IP and the ISP's DNS..so, their DHCP is definitely NOT issuing OPENDNS servers.
I did download the XML config file...and searched for the OPENDNS IPs ... and it returned nothing.
Where could OPNSENSE be pulling that info from?
Logged
axsdenied
Full Member
Posts: 199
Karma: 9
Re: Interface - Overview - DNS Server location?
«
Reply #3 on:
June 08, 2022, 02:20:13 am »
Only place would be from ISP given your DHCP config. I assume if you "release" and "reload", from that same screen you shared the screenshot from, those entries come back the same?
Logged
OPNsense 24.7.7 running on:
Dell Optiplex 3050
Intel I5-7600 @ 3.5Ghz (4 Cores)
Intel I350-T4 Nic
8G DDR4
256G SSD
Chrome
Jr. Member
Posts: 50
Karma: 1
Re: Interface - Overview - DNS Server location?
«
Reply #4 on:
June 08, 2022, 03:20:38 am »
Yes, they come back the same.
Logged
axsdenied
Full Member
Posts: 199
Karma: 9
Re: Interface - Overview - DNS Server location?
«
Reply #5 on:
June 08, 2022, 04:04:29 am »
In SYSTEM - SETTINGS - GENERAL:
Which options are checked or not checked within the "DNS server options" section?
p.s. i'm grasping at straws at this point
Logged
OPNsense 24.7.7 running on:
Dell Optiplex 3050
Intel I5-7600 @ 3.5Ghz (4 Cores)
Intel I350-T4 Nic
8G DDR4
256G SSD
Chrome
Jr. Member
Posts: 50
Karma: 1
Re: Interface - Overview - DNS Server location?
«
Reply #6 on:
June 08, 2022, 06:51:40 pm »
Yes, checked there...no mention of the OPENDNS servers....
also, checked, /etc/resolv.conf for good measure and it matches "SYSTEM - SETTINGS - GENERAL"
As for the options under, DNS server options;
"Allow DNS server list to be overridden by DHCP/PPP on WAN" and
"Do not use the local DNS service as a nameserver for this system"
are both UNchecked.
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: Interface - Overview - DNS Server location?
«
Reply #7 on:
June 08, 2022, 08:13:48 pm »
Since 22.1 we are reworking the DNS handling for dynamic IP configurations. These servers likely show up when you run:
# ifctl -i em0
If yes, these are supplied by the ISP via DHCP/PPPoE but since you don't use them as per your settings that's ok. If no I'm not even sure what magic system we talk about here
Cheers,
Franco
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: Interface - Overview - DNS Server location?
«
Reply #8 on:
June 08, 2022, 08:15:59 pm »
PS: ::1 doesn't make a lot of sense either as a specific DNS server for WAN, but maybe that's just me.
Logged
Chrome
Jr. Member
Posts: 50
Karma: 1
Re: Interface - Overview - DNS Server location?
«
Reply #9 on:
June 08, 2022, 08:30:16 pm »
@axsdenied and @franco Thank you both for you help.
Output of:
ifctl -i em0
208.67.222.222
208.67.220.220
and
cat /var/db/dhclient.leases.em0
Also mentions:
208.67.222.222
208.67.220.220
I guess my ISP is issuing OPENDNS servers to my router...doesn't make sense, and didn't happen on my laptop I plugged into my modem...
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: Interface - Overview - DNS Server location?
«
Reply #10 on:
June 08, 2022, 08:39:47 pm »
Might be bound to the request IP or the MAC of the OPNsense from a historic point of view. But in any case since you don't have "Allow DNS server list to be overridden by DHCP/PPP on WAN" the servers are not used.
To be more clear about the code change in 22.1 is that we want to keep the ISP-based information in case the user decides to investigate or wants to switch on "Allow DNS server list to be overridden by DHCP/PPP on WAN" at runtime which would forget the DNS servers issued on older versions since they were not being stored.
Cheers,
Franco
Logged
Chrome
Jr. Member
Posts: 50
Karma: 1
Re: Interface - Overview - DNS Server location?
«
Reply #11 on:
June 08, 2022, 08:46:41 pm »
Thank you for the explanation on the code changes!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Interface - Overview - DNS Server location?