PaloAltoNetworks / PaloAltoNetworks/pan.dev

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

Open
#807 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
MDX
Stars
78
Forks
88
Avg merge
5d 17h
Merged PRs (30d)
18

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by reproducing the interface update with the two name_servers orders shown, then inspect the Update an Interface (v4.19) path. Done means changing only the DNS server order persists and is reflected when the interface is read back.

Written by the indexing model from the issue text.

Assessment

Domain
api, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.