Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-01-2010, 10:07 AM   #1
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 679

Rep: Reputation: 34
DNS problem: Name or service not known

When trying to ssh on FQDN, the resolving fails :
[Jonas@jonas ~]$ ssh -l root webserver.jocan.local
ssh: Could not resolve hostname webserver.jocan.local: Name or service not known
or I get this :
reverse mapping checking getaddrinfo for asterisk.jocan.local [] failed - POSSIBLE BREAK-IN ATTEMPT!
[root@jonas jonas]# cat /etc/resolv.conf 
# Generated by NetworkManager
domain jocan.local
search jocan.local
nameserver is the DNS-server (not DHCP-server) which has FQDN-IP mappings...
The DHCP-server is a Zyxel router which gives as DNS-server (option 6).

So why is DNS-resolving failing ?
Old 05-01-2010, 12:26 PM   #2
Registered: Jul 2008
Location: Chennai, India
Distribution: RHEL5, Ubuntu
Posts: 191

Rep: Reputation: 37
My Suggestions:

1. Is the DNS service running properly in the server. Is it serving the purpose for other clients?
If not, start the named service, check selinux is blocking anything.

2. Is it possible to connect to the DNS server? (ping.)

3. Is firewall blocking anything (iptables)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS Service scottt20 Linux - Server 1 01-17-2010 10:08 PM
Problem with DNS on CentOS cannot service named restart dalvis Linux - Newbie 7 11-25-2009 05:10 PM
bind9 problem : windows client can't use DNS service and12345 Linux - Server 2 12-08-2008 06:49 PM
Dns Service praveenv Linux - Newbie 2 09-08-2004 01:24 PM
DNS Service ddepuemd Linux - Networking 1 05-16-2002 12:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration