Skip to content

missing attributes for setting ip name servers and global domain lookup source interface #229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sthoneder opened this issue Apr 10, 2025 · 0 comments

Comments

@sthoneder
Copy link

Following CLI commands are currently not reflected in any resource

Example IOS-XE CLI config

!
ip name-server <DNS-SERVER-1> <DNS-SERVER-2>
ip domain lookup source-interface <INTERFACE>
!

This could be potentially added to iosxe_systemresource which holds some attributes for domain lookup.

Example solution could be

resource "iosxe_system" "example" {
  ip_domain_lookup_source_interface = "Loopback0"
  name_servers = [
    {
        server = "10.10.10.1"
     } 
    ]
  }

Yang model path that are able to set those values are

/native/ip/name-server/no-vrf
/native/ip/domain/lookup-settings/lookup/source-interface

Device:

  • C9200L on 17.15.3

Provider

  • iosxe: 0.5.9
  • netascode-utils: 0.2.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant