====== DNS server setting ====== ===== Name ===== dns ===== Details ===== ^ Type | [[:cfgtype:ipv4|IPv4 address]] | ^ DHCP option number | 6 | ^ ISC dhcpd syntax | ''option domain-name-servers'' | ===== Examples ===== === Display the DNS server === iPXE> show dns net0.dhcp/dns:ipv4 = 192.168.0.1 === Set the DNS server manually === iPXE> set dns 192.168.0.1 === Configure the DNS server in ISC dhcpd === # in /etc/dhcpd.conf option domain-name-servers 192.168.0.1; ===== Description ===== Specifies the DNS server address used for resolving DNS names (such as "boot.ipxe.org") to IP addresses (such as "212.13.204.60"). ===== See also ===== * ''[[:cfg:domain]]'' * [[:cfg|List of all iPXE settings]] ===== Notes ===== When multiple DNS servers are specified, only the first server will be used.