The order of nameservers in /etc/resolv.conf in VyOS does not currently reflect the order in which those nameservers are added and committed, which is necessary for situations where domains are only resolvable by specific nameservers. The /etc/resolv.conf file is parsed in order, so if the first nameserver that is queried in the list returns NXDOMAIN, the domain will not resolve, even if later nameservers do in fact have a record for it.
(ignore the 209 DNS servers, those are in bug report T1714)
[email protected]# set system name-server 192.168.1.1 [edit] [email protected]# set system name-server 8.8.8.8 [edit] [email protected]# set system name-server 1.1.1.1 [edit] [email protected]# commit [edit] [email protected]# cat /etc/resolv resolvconf/ resolv.conf [edit] [email protected]# cat /etc/resolv.conf ### Autogenerated by VyOS ### ### Do not edit, your changes will get overwritten ### nameserver 1.1.1.1 nameserver 192.168.1.1 nameserver 8.8.8.8 nameserver 209.18.47.61 nameserver 209.18.47.62 domain <removed> search <removed>