Configure the global DNS settings and add a DNS server

You can configure the global DNS settings and DNS server information.

To configure the global DNS settings and add a DNS server:

  1. Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
    The System Information page displays.
  2. Select System > Management > DNS > DNS Configuration.

    The DNS Configuration page displays.

  3. Select the DNS Status Disable or Enable radio button:
    • Enable: Allows the switch to send DNS queries to a DNS server to resolve a DNS domain name. The default value is Enable.

    • Disable: Prevents the switch from sending DNS queries.

  4. In the DNS Default Name field, enter the name that must be includes in DNS queries.

    When the switch looks up on an unqualified host name, this field provides the domain name. For example, if the default domain name is netgear.com and you enter test, then test is changed to test.netgear.com to resolve the name). The maximum length of the name is 255 characters.

  5. In the Retry Number field, specify the number of times that the switch must retry to send DNS queries to the DNS server.

    Enter a number from 0 to 100. The default is 2.

  6. In the Response Timeout (secs) field, specify the time in seconds that the switch must wait for a response to a DNS query.

    Enter a number from 0 to 3600. The default is 3.

  7. From the Source Interface menu, select the interface that must be the source interface for DNS, which means that the primary IP address of the interface is used as the source address. By default, the following options display in the menu:
    • None: The primary IP address of the originating (outbound) interface

    • VLAN 1: The primary IP address of VLAN 1. This is the default selection.

    • Service Port: The management port IP address

    Depending on the configuration of your switch, the following options can display:

    • Another VLAN ID: The primary IP address of a VLAN other than VLAN 1

    • Routing interface: The primary IP address of a routing interface

    • Routing VLAN: The primary IP address of a VLAN routing interface

    • Tunnel interface: The primary IP address of an IPv6 tunnel interface

    • Routing loopback interface: The primary IP address of a routing loopback interface

    • Different: For some features, Different can display. This means that the source interface is configured separately.

  8. Click the Apply button.

    Your settings are saved.

  9. To save the settings to the running configuration, click the Save icon.
  10. To add a DNS server to which the switch sends DNS queries, do the following:
    1. In the DNS Server Address field in the DNS Server Configuration table, enter an IP address in standard IPv4 or IPv6 dot notation.
    2. Click the Add button.

      The server is added to the table. You can specify up to eight DNS servers. The precedence is set in the order that you add the servers.

  11. To save the settings to the running configuration, click the Save icon.

The following table displays the view-only DNS server information.

Table 1. DNS server configuration information

Field

Description

Serial No

The sequence number of the DNS server.

Preference

The preference of the DNS server. The preference is determined by the order in which you add the servers.