DHCP Server using DNS addresses not configured.

Started by TomT, April 21, 2021, 09:58:27 AM

Previous topic - Next topic
Hi.

I have DHCP v4 configured on my LAN and its set to with two DNS Servers 192.168.1.1 & 1.1.1.1
192.168.1.1 is the IP Address of the opnsense server.

However DHCP requests are returning two DNS servers:
6 (Domain Name Server Option): 192.168.1.1, 8.8.8.8

Anyone know why a Google DNS server is being shown, and not cloudflare ?
Are there any config files I can check ?

Thanks

Android device?

Show screenshots of

System -> Settings -> General

Unbound

DHCPv4 for LAN

If you have static mappings in DHCPv4 check for specific settings for each client.
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Hello,

Yes it is an Android device.

System:


Unbound:


DHCP:


Thanks

imho Android can never be disconnected from mothership. correct me if I'm wrong...

can check resolve.conf on android? just kidding.

I can't read the two IPs for the DNS in your DHCP config...
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Hi,

I tried changing the DNS entries in the DHCPv4 config to see if that would work or not.
They now read: 192.168.1.1 & 209.222.18.222

Just tested again on the LAN and noticed a second DHCP server is running.
I've disabled that and it does appear to be working correctly.  Looks like the Android device was getting it address from the other server, which should have been disabled !

Thanks for helping..


Quote from: TomT on April 21, 2021, 05:35:47 PM
Hi,

I tried changing the DNS entries in the DHCPv4 config to see if that would work or not.
They now read: 192.168.1.1 & 209.222.18.222

Just tested again on the LAN and noticed a second DHCP server is running.
I've disabled that and it does appear to be working correctly.  Looks like the Android device was getting it address from the other server, which should have been disabled !

Thanks for helping..



Second DHCP server? That sounds fun! :-D
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....