sonic-buildimage/files/build_templates/dns.j2
ganglv 5c4ab7a7f4
Use DNS j2 for default DNS configuration (#15901)
Why I did it
Support default DNS configuration

How I did it
Use j2 template to generate default DNS configuration.

How to verify it
Run sonic-config-engine unit test.
2023-07-31 15:43:00 -07:00

12 lines
168 B
Django/Jinja

{# Please follow below example to add your DNS server
{
"DNS_NAMESERVER": {
"6.6.6.6": {},
"2001:4860:4860::64": {}
}
}
#}
{
"DNS_NAMESERVER": {}
}