DNS resolution only works when nic set for DHCP

Status
Not open for further replies.

av8r

Dabbler
Joined
Sep 3, 2013
Messages
34
I'm running 9.1.1 64 bit on a 2010 Intel DB43LD mATX board
http://www.intel.com/content/www/us/en/motherboards/desktop-motherboards/desktop-board-db43ld.html
4gb RAM, single 2T SATA drive (temporary)

The issue is this. If I set the network config to use DHCP, DNS works fine. I can ping, resolve names, etc. I have 3 DNS servers manually entered (I've tried Google, OpenDNS, severs on our network at work) and changing these has no effect. Changing the network to use a static IP (same IP as DHCP or another on the same block) immediately causes DNS to stop working. I cannot see plugins available, can't resolve names, ping by name, etc. Change it back to DHCP and everything is golden.

I appreciate any assistance you can provide with this. I think I've provided the information as required in the rules.

IFCONFIG results with DHCP set:

ifconfig em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO> ether 70:71:bc:0d:ac:95 inet6 fe80::7271:bcff:fe0d:ac95%em0 prefixlen 64 scopeid 0x1 inet 128.226.31.207 netmask 0xfffffe00 broadcast 128.226.31.255 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> media: Ethernet autoselect (100baseTX <full-duplex>) status: active ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0xb inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

IFCONFIG results with static IP set:
ifconfig em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO> ether 70:71:bc:0d:ac:95 inet6 fe80::7271:bcff:fe0d:ac95%em0 prefixlen 64 scopeid 0x1 inet 128.226.31.207 netmask 0xfffffe00 broadcast 128.226.31.255 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> media: Ethernet autoselect (100baseTX <full-duplex>) status: active ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0xb inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471
can't really read this from the phone, but my guess would be that you need to set the gateway (=your router), otherwise the server's NIC doesn't know how to route...
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471
can you ping the gatewau's IP from the shell?
can you ping one of the dns's, like 8.8.8.8?
 
Status
Not open for further replies.
Top