If an IPv6 address is returned, you can add that as another nameserver line in the resolv.conf file, as follows: nameserver 2001:4800:d::1 Then test as previously shown, by using the ping6 command instead of the regular ping command to force the system to use IPv6.

The “nameserver” directive. The nameserver directive points out to the IP address of a Name Server. nameserver It can be your own Name Server, some public Name Server or the Name Server of your’s ISP. Note: Up to 3 name servers may be listed. Example: nameserver 192.168.0.100 nameserver 8.8.8.8 nameserver 8.8.4.4 resolv.conf File Format for TCP/IP - IBM If the host is a name server, the resolv.conf file must exist and contain a nameserver reference to itself as well as a default domain.. The resolv.conf file can contain one domain entry or one search entry, a maximum of three nameserver entries, and any number of options entries.. A domain entry tells the resolver routines which default domain name to append to names that do not end with a . Domain name resolution - ArchWiki - Arch Linux

Table 1. Configuring a host to use name server tasks; Task SMIT fast path Command or file; Create an /etc/resolv.conf File: smit stnamerslv2: create and edit /etc/resolv.conf 1: List All the Name Servers Used by a Host: smit lsnamerslv: view /etc/resolv.conf: Add a Name Server: smit mknamerslv: edit /etc/resolv.conf 2: Remove a Name Server

DESCRIPTION The resolvconf package comprises a simple database for run-time nameserver information and a simple framework for notifying applications of changes in that information. Resolvconf thus sets itself up as the intermediary between programs that supply nameserver information and applications that use that information. # cat /etc/resolv.conf nameserver 173.204.4.5 nameserver 173.204.4.7 Above you can see “nameserver” directive which is pointed to the IP address of Name Server. In my example 173.204.4.5 and 173.204.4.7 is my own Name Servers. You can also use Public Name Server following below configuration.

Configuring Name Server Lookups-- resolv.conf

The resolver queries these name servers in the order the servers are listed until the resolver obtains the information it needs. With BIND 8.3.3, the DNS client can connect to IPv6 DNS servers using an IPv6 transport. To enable such a connection, enter an IPv6 address after nameserver in the resolv.conf file. resolv.conf is the name of a computer file used in various operating systems to configure the system's Domain Name System (DNS) resolver. The file is a plain-text file usually created by the network administrator or by applications that manage the configuration tasks of the system. Re: How do I set a permanent nameserver value in the resolv.conf file? Post by TrevorH » Sun Jun 18, 2017 11:16 pm Your current nameserver is being given to you by your DHCP server - which is probably on your router.