I have some questions about how DNS works with a management VRF. I was referring to this article: https://docs.cumulusnetworks.com/display/DOCS/Management+VRF
1. If we lose the inband connectivity, will DNS work out of the management VRF even if I don't specify a specific server for # vrf mgmt in /etc/resolv.conf?
2. If I must specify a DNS just for the management vrf, can it be the same one as the one in the in band vrf. For example is this supported in /etc/resolv.conf
nameserver 10.254.1.1 # vrf mgmt
What are our options and what is supported?
Best answer by David Ahern
You need to specify the VRF a DNS server is reachable through. We no longer assume all DNS servers are reachable through management VRF.
The same server address can not be given twice in /etc/resolv.conf with different vrf associations.