<!--
  ~ Copyright (c) 2026 Arista Networks, Inc.
  ~ Use of this source code is governed by the Apache License 2.0
  ~ that can be found in the LICENSE file.
  -->
=== "Table"

    | Variable | Type | Required | Default | Value Restrictions | Description |
    | -------- | ---- | -------- | ------- | ------------------ | ----------- |
    | [<samp>ip_name_server_groups</samp>](## "ip_name_server_groups") | List, items: Dictionary |  |  |  |  |
    | [<samp>&nbsp;&nbsp;-&nbsp;name</samp>](## "ip_name_server_groups.[].name") | String | Required, Unique |  |  |  |
    | [<samp>&nbsp;&nbsp;&nbsp;&nbsp;vrfs</samp>](## "ip_name_server_groups.[].vrfs") | List, items: Dictionary |  |  |  |  |
    | [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;name</samp>](## "ip_name_server_groups.[].vrfs.[].name") | String | Required, Unique |  |  | VRF name. Use "default" for the default VRF. |
    | [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name_servers</samp>](## "ip_name_server_groups.[].vrfs.[].name_servers") | List, items: Dictionary | Required |  | Min Length: 1 |  |
    | [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;ip_address</samp>](## "ip_name_server_groups.[].vrfs.[].name_servers.[].ip_address") | String | Required, Unique |  |  | IPv4 or IPv6 address for DNS server. |
    | [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;priority</samp>](## "ip_name_server_groups.[].vrfs.[].name_servers.[].priority") | Integer |  |  | Min: 0<br>Max: 15 | Priority value (lower is first). |
    | [<samp>&nbsp;&nbsp;&nbsp;&nbsp;name_servers</samp>](## "ip_name_server_groups.[].name_servers") <span style="color:red">deprecated</span> | List, items: Dictionary |  |  |  | <span style="color:red">This key is deprecated. Support will be removed in AVD version 7.0.0.</span> |
    | [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;ip_address</samp>](## "ip_name_server_groups.[].name_servers.[].ip_address") | String | Required |  |  | IPv4 or IPv6 address for DNS server. |
    | [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vrf</samp>](## "ip_name_server_groups.[].name_servers.[].vrf") | String | Required |  |  | VRF Name. |
    | [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;priority</samp>](## "ip_name_server_groups.[].name_servers.[].priority") | Integer |  |  | Min: 0<br>Max: 15 | Priority value (lower is first). |
    | [<samp>&nbsp;&nbsp;&nbsp;&nbsp;dns_domain</samp>](## "ip_name_server_groups.[].dns_domain") | String |  |  |  |  |
    | [<samp>&nbsp;&nbsp;&nbsp;&nbsp;ip_domain_lists</samp>](## "ip_name_server_groups.[].ip_domain_lists") | List, items: String |  |  |  | Set domain names to complete unqualified host names. |
    | [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&lt;str&gt;</samp>](## "ip_name_server_groups.[].ip_domain_lists.[]") | String |  |  |  |  |
    | [<samp>&nbsp;&nbsp;&nbsp;&nbsp;ip_domain_list</samp>](## "ip_name_server_groups.[].ip_domain_list") <span style="color:red">removed</span> | String |  |  |  | Set domain names to complete unqualified host names.<span style="color:red">This key was removed. Support was removed in AVD version 6.0.0. Use <samp>ip_domain_lists</samp> instead.</span> |

=== "YAML"

    ```yaml
    ip_name_server_groups:
      - name: <str; required; unique>
        vrfs:

            # VRF name. Use "default" for the default VRF.
          - name: <str; required; unique>
            name_servers: # >=1 items; required

                # IPv4 or IPv6 address for DNS server.
              - ip_address: <str; required; unique>

                # Priority value (lower is first).
                priority: <int; 0-15>
        # This key is deprecated.
        # Support will be removed in AVD version 7.0.0.
        name_servers:

            # IPv4 or IPv6 address for DNS server.
          - ip_address: <str; required>

            # VRF Name.
            vrf: <str; required>

            # Priority value (lower is first).
            priority: <int; 0-15>
        dns_domain: <str>

        # Set domain names to complete unqualified host names.
        ip_domain_lists:
          - <str>
    ```
