pan.dev icon indicating copy to clipboard operation
pan.dev copied to clipboard

Issue/Help with "Update an Interface (v4.19)" DNS Server swap

Open Chris591 opened this issue 1 year ago • 1 comments

Describe the problem

if you only change the DNS Servers order. from this

"ipv4_config": {
        "type": "static",
        "static_config": {
            "address": "10.1.1.1/24"
        },
        "dhcp_config": null,
        "dns_v4_config": {
            "name_servers": [
                "10.2.1.2",
                "10.5.1.2"
            ]
        },
        "routes": null
    } 

to this

"ipv4_config": {
        "type": "static",
        "static_config": {
            "address": "10.1.1.1/24"
        },
        "dhcp_config": null,
        "dns_v4_config": {
            "name_servers": [
                "10.5.1.2",
                "10.2.1.2"
            ]
        },
        "routes": null
    } 

it will not update the dns server order

Suggested fix

update the interface

Chris591 avatar Dec 19 '24 08:12 Chris591

tested it with v4.18 and 4.19 I had to add a DNS Server and remove it again to update it

Chris591 avatar Dec 19 '24 08:12 Chris591