I had a working configuration this morning with the following simple
/etc/resolv.conf is completely commented out.
ifconfig_rl0="DHCP" ifconfig_xl="inet 192.168.1.11 netmask 255.255.255." defaultrouter="192.168.1.1"
I added the following lines:
firewall_enable="YES" firewall_type="SIMPLE" firewall_logging="YES" sshd_enable="YES" apache_enable="YES" mysql_enable="YES"
restarted the computer and no connectivity, changed rc.conf back to last working configuration and still no connectivity.
ping www.google.com #--> ping: cannot resolve www.google.com: Host name lookup failure ping 22.214.171.124 # --> (works fine) apachectl start #--> /usr/local/sbin/apachectl start: httpd could not be started dig google.com #--> connection timed out nslookup google.com #--> connnection timed out; no servers could be reached
I also used
/etc/rc.d/routing restart between the working state and the broken state