LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-01-2010, 09:07 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 690

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


When trying to ssh on FQDN, the resolving fails :
Code:
[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 :
Code:
reverse mapping checking getaddrinfo for asterisk.jocan.local [192.168.1.150] failed - POSSIBLE BREAK-IN ATTEMPT!
Code:
[root@jonas jonas]# cat /etc/resolv.conf 
# Generated by NetworkManager
domain jocan.local
search jocan.local
nameserver 192.168.1.5
192.168.1.5 is the DNS-server (not DHCP-server) which has FQDN-IP mappings...
The DHCP-server is a Zyxel router which gives 192.168.1.5 as DNS-server (option 6).

So why is DNS-resolving failing ?
 
Old 05-01-2010, 11:26 AM   #2
saagar
Member
 
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)
 
  


Reply



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 09:08 PM
Problem with DNS on CentOS cannot service named restart dalvis Linux - Newbie 7 11-25-2009 04:10 PM
bind9 problem : windows client can't use DNS service and12345 Linux - Server 2 12-08-2008 05:49 PM
Dns Service praveenv Linux - Newbie 2 09-08-2004 12:24 PM
DNS Service ddepuemd Linux - Networking 1 05-16-2002 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:19 PM.

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