AaronCampbell
New Around Here
I'm trying to get the DHCP on my new GT-AX11000 to serve up custom name servers (like 8.8.8.8 and 8.8.4.4) but the settings page only lets you specify one:
It then adds itself (in this case 192.168.1.1) to that as the second when it serves it up:
So I enabled SSH and took a look
There seemed to be a precedent for the `*_dns2_x` naming structure so...:
Then a forced release/renew on the client (`sudo dhclient -v eno1`) but it's still serving up only 8.8.8.8 and 192.168.1.1. Anyone know what I'm missing here?
It then adds itself (in this case 192.168.1.1) to that as the second when it serves it up:
Code:
$ nmcli -f IP4.DNS device show eno1
IP4.DNS[1]: 8.8.8.8
IP4.DNS[2]: 192.168.1.1
So I enabled SSH and took a look
Code:
# nvram dump | grep -i dhcp_dns
dhcp_dns1_x=8.8.8.8
There seemed to be a precedent for the `*_dns2_x` naming structure so...:
Code:
# nvram set dhcp_dns2_x=8.8.4.4
# nvram dump | grep -i dhcp_dns
dhcp_dns1_x=8.8.8.8
dhcp_dns2_x=8.8.4.4
#nvram commit
# service restart_dnsmasq
Done.
Then a forced release/renew on the client (`sudo dhclient -v eno1`) but it's still serving up only 8.8.8.8 and 192.168.1.1. Anyone know what I'm missing here?