I have some problem with DNS name resolving.
In a terminal, I can use
nslookup to resolve some certain domain, but when I try to ping it, it complains that
Name or service not known.
$> nslookup www.github.com Server: 188.8.131.52 Address: 184.108.40.206#53 Non-authoritative answer: Name: www.github.com Address: 220.127.116.11 www.github.com canonical name = github.com.
$> ping www.github.com ping: www.github.com: Name or service not known
ps, I’m in China behind the great firewall
in my /etc/resolv.conf, there is a line
I removed it and seems everything is ok now. But this options seems to be needed by some other part of the system, I’m not sure whether it is proper to remove it.