DNS server setting

Name

  dns

Details

Type 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

Notes

When multiple DNS servers are specified, only the first server will be used.

 
cfg/dns.txt · Last modified: 2011/03/24 01:58 by mcb30
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL http://ipxe.org
References to "iPXE" may not be altered or removed.