I have upgraded from 7.2 to 8.1, but now I have a DNS problem
The router assigns an IP address.
I can ping that IP address.
I can ping any other IP address (also outside my LAN)
However, I cannot ping using a host name
In /etc/resolv.conf, I have
where 10.0.1.1 is my routers address.
When I remove resolv.conf, the above file is auto-generated at boot.
When I remove the "search lan" line, it is added at boot.
However, there are two boot error messages
Any ideas to troubleshoot this issue?
PS: On my Mac (which doesn't have any DNS issues), /etc/resolv.conf is
The router assigns an IP address.
I can ping that IP address.
I can ping any other IP address (also outside my LAN)
However, I cannot ping using a host name
Code:
#ping example.com
ping: cannot resolve example.com: Host name lookup failure
In /etc/resolv.conf, I have
Code:
search lan
nameserver 10.0.1.1
where 10.0.1.1 is my routers address.
When I remove resolv.conf, the above file is auto-generated at boot.
When I remove the "search lan" line, it is added at boot.
However, there are two boot error messages
Code:
route: writing to routing socket: Network is unreachable
add net default: gateway 10.0.1.1: Network is unreachable
Any ideas to troubleshoot this issue?
PS: On my Mac (which doesn't have any DNS issues), /etc/resolv.conf is
Code:
domain lan
nameserver 10.0.1.1