sonic-buildimage/files/image_config/resolv-config
Oleksandr Ivantsiv 3ba603960b [dns] Do not apply dynamic DNS configuration when MGMT interface has static IP address. (#17769)
### Why I did it
Fix the issue detected by[ TestStaticMgmtPortIP::test_dynamic_dns_not_working_when_static_ip_configured ](https://github.com/sonic-net/sonic-mgmt/blob/master/tests/dns/static_dns/test_static_dns.py#L105C9-L105C63) test.

### How I did it
Query MGMT interface configuration. Do not apply dynamic DNS configuration when MGMT interface has static IP address.

#### How to verify it
Run `tests/dns/static_dns/test_static_dns.py` sonic-mgmt tests.
2024-02-01 09:34:02 +08:00
..
resolv-config.service [dns] Add support for static DNS configuration. (#14549) 2023-06-22 19:12:30 +03:00
resolv-config.sh [dns] Do not apply dynamic DNS configuration when MGMT interface has static IP address. (#17769) 2024-02-01 09:34:02 +08:00
resolv.conf.head [dns] Add support for static DNS configuration. (#14549) 2023-06-22 19:12:30 +03:00
resolv.conf.j2 [dns] Add support for static DNS configuration. (#14549) 2023-06-22 19:12:30 +03:00
update-containers [dns] Add support for static DNS configuration. (#14549) 2023-06-22 19:12:30 +03:00