You are not logged in.

#1 2012-04-16 06:04:50

greendragons
Member
Registered: 2012-04-16
Posts: 17

[Solved] Unknown Host DNS Resolve Problem

Hii,
I have configured my resolv.conf file with nameserver as google 8.8.8.8 and 8.8.4.4
followed by restart of network deamon..
Here is resolv.conf

#
  2 # /etc/resolv.conf
  3 #
  4 #search <yourdomain.tld>
  5 #nameserver <ip>
  6 nameserever 8.8.8.8
  7 nameserever 8.8.4.4
  8 # End of file

I can ping using ip successfully but cannot ping using domain names, it gives unknown host error.
Im unable to figure out what is the problem is even though i have restarted network so that it loads the new entries of resolv.conf.

Last edited by greendragons (2012-04-16 10:04:46)

Offline

#2 2012-04-16 06:20:30

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [Solved] Unknown Host DNS Resolve Problem

I'm seeing 2 typos for starters. But I guess you've just typed it and not copy/pasted it from the actual config file.

Try using "dig www.google.com" and see which dns server it's actually contacting.


Burninate!

Offline

#3 2012-04-16 06:29:57

greendragons
Member
Registered: 2012-04-16
Posts: 17

Re: [Solved] Unknown Host DNS Resolve Problem

dig www.google.com
dig command not found.... gives some bash error.
dig package is not installed...
How do i install dnsutil package when my internet is not working..?
Is there any way to install packages from arch installation disk..?

Last edited by greendragons (2012-04-16 06:50:06)

Offline

#4 2012-04-16 07:01:09

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [Solved] Unknown Host DNS Resolve Problem

Don't worry about it. No need to go through all that for a simple dns issue.

Try "telnet 8.8.8.8 53" to see if you can actually contact the dns server (telnet should be available on your system).


Burninate!

Offline

#5 2012-04-16 08:09:30

greendragons
Member
Registered: 2012-04-16
Posts: 17

Re: [Solved] Unknown Host DNS Resolve Problem

Telnet is not installed, but i managed to install dig and nslookup using core iso and changing some
settings of pacman.conf so that it searches packages from core depository...
Here is the error im getting while doing
dig www.google.com

; <<>> DiG 9.8.0-P4 <<>> www.google.com
;; global options: +cmd
;; connection timed out; no servers could be reached

Similar timed out error im getting when doing nslookup www.google.com.

Offline

#6 2012-04-16 08:38:13

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [Solved] Unknown Host DNS Resolve Problem

How are you connected to the internet from your Arch machine (direct external ip, nat via a router,...)? Have you tried with other dns servers (opendns, your isp's,...)?


Burninate!

Offline

#7 2012-04-16 09:00:14

greendragons
Member
Registered: 2012-04-16
Posts: 17

Re: [Solved] Unknown Host DNS Resolve Problem

Problem solved, there was silly spelling mistake in resolv.conf file, i don't know i could overlooked that.. anyways
Thanx for your help, at least i installed dnsutils and inetutils lol...

Offline

#8 2012-04-16 09:14:28

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [Solved] Unknown Host DNS Resolve Problem

No worries. It's monday for all of us smile

PS: Don't forget to mark your thread as [SOLVED].


Burninate!

Offline

Board footer

Powered by FluxBB