Skip to main content

I'm sure this is something simple that I'm missing but I finally got a our Netboot server working. I can boot into the os and everything looks like it works except it's using the local host for DNS. I try changing it through Network Preferences to use our DNS servers but it doesn't seem to work.



If I do an nslookup server it reports Default server 127.0.0.1
If I change the server to one of our DNS servers under nslookup I can get it to resolve. Any idea what I'm missing?

Can you please run these commands on the machine while it is netbooted and post the output:



netstat -nr | head -6



cat /etc/resolv.conf



ifconfig


NetBoot:~ root# netstat -nr | head -6
Routing tables



Internet:
Destination Gateway Flags Refs Use Netif Expire
default 172.31.18.254 UGSc 1 0 en0
127 127.0.0.1 UCS 0 0 lo0
NetBoot:~ root# cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory
NetBoot:~ root# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=1<PERFORMNUD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 04:0x:cx:dx:fx:52
inet 172.31.18.186 netmask 0xffffff00 broadcast 172.31.18.255
inet6 fe80::60c:ceff:fed0:f152%en0 prefixlen 64 scopeid 0x4
nd6 options=1<PERFORMNUD>
media: autoselect
status: active
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
ether 06:xx:
media: autoselect
status: inactive


It seems really odd that you would have no /etc/resolv.conf



can you post the result of:



networksetup -getinfo Ethernet


I just added my server info to the hosts file for now. I will revisit again when I have more time. Thanks for your help so far.