I just updated my vyos system from 1.1.7 to 1.4. On the 1.1.7 system when it picks a DHCP address on the WAN interface it updates resolv.conf. After I updated to 1.4 (VyOS 1.4-rolling-202104171416) resolv.conf is not updating. Is this a bug or do I have to set something in 1.4 to get resolv.conf updated by the WAN DHCP server?
Case of RTFM, the commands needed
set system name-server (one name server per line. so more name servers more lines)
set system domain-name
I did not have to set these in 1.1.7, they were picked up from DHCP. So there was a change from 1.1.7 to 1.4…
Alternatively, you can use the following command:
set system name-servers-dhcp <WAN interface>
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.