475fe27c0b
- Why I did it Add support for static DNS configuration. According to sonic-net/SONiC#1262 HLD. - How I did it Add a new resolv-config.service that is responsible for transferring configuration from Config DB into /etc/resolv.conf file that is consumed by various subsystems in Linux to resolve domain names into IP addresses. - How to verify it Run the image compilation. Each component related to the static DNS feature is covered with the unit tests. Run sonic-mgmt tests. Static DNS feature will be covered with the system tests. Install the image and run manual tests.
4 lines
70 B
Django/Jinja
4 lines
70 B
Django/Jinja
{% for ip in DNS_NAMESERVER|sort %}
|
|
nameserver {{ ip }}
|
|
{% endfor -%}
|