Host name Lookup Failure


 
Thread Tools Search this Thread
Operating Systems Linux Host name Lookup Failure
# 1  
Old 11-01-2016
Host name Lookup Failure

Dear All ,

I am able to resolve my server using its ipaddress from other machines.

But not from the same machine.

But I have updated the DNS entry in /etc/resolv.conf.

Even SSH login from other server shows Hostname Lookup Failure.

Please help me on this.

Rj
# 2  
Old 11-01-2016
Can you post the DNS entry you made? Use a fake IP.
Also note - there is a DNS lookup order that you can control.
Are you using some type of network security that blacklists some IP's?

The dig command is your friend
Please post the full output of
Code:
dig [bad server name]
dig [ bad server IP]

# 3  
Old 11-01-2016
I'm afraid a DNS entry doesn't belong into /etc/resolv.conf but into the bind configuration files.
What you can do is put a translation record into /etc/hosts and redefine the search order (e.g. order hosts,bind) in /etc/host.conf.
# 4  
Old 11-01-2016
DearAll ,

Thanks for your reply.
When I stopped the firewall , it is working.

some where in the firewall , it is not getting enabled.

I even enabled the firewall for port 53.

Please send me some inputs.
# 5  
Old 11-01-2016
Did you enable both Port 53/UDP and Port 53/TCP ?
# 6  
Old 11-02-2016
Yes , we have enabled both udp and tcp.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Problems host name lookup failure sendmail

Hi I have a problem in sendmail Freebsd when sending emails to yahoo as an example, I get: Sep 5 10:05:43 local50 sm-mta: STARTTLS=client, error: connect failed=-1, SSL_error=1, errno=0, retry=-1 Sep 5 10:05:43 local50 sm-mta: STARTTLS=client: 43926:error:1407742E:SSL... (3 Replies)
Discussion started by: rickyarge92
3 Replies

2. UNIX for Dummies Questions & Answers

boot up failure unix sco after power failure

hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies

3. Solaris

DNS Lookup failure:

I am facing typical problem with apache as proxy. my solaris box was running with apache1.3, due to security issue i have updated to apache 2.2. I don't have any DNS set up onmy network. I was able to connect to internet apache 1.3 working as proxy server. http and https are working fine. when... (3 Replies)
Discussion started by: sns_sns
3 Replies

4. Shell Programming and Scripting

Store Host lookup in variable ("on the fly")

Hi, I'm new here. I was wondering why I can't store a host lookup in a variable. for line in $(< blacklist) do STOREIP=host $line; if ]; then $line >> blacklist2; else $line >> blacklist3; fi done Result: "ip" command not found .. so how would I store the host lookup in the... (2 Replies)
Discussion started by: sOliver
2 Replies

5. Solaris

Mail issue solution query- host map: lookup (domain): deferred

Hi all I had a mail issue earlier today where I was not receiving any emails from the servers of one of our clients. The mail queue just showed this: -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient----------- o8S7eSpp020274* 5858 Tue Sep 28 10:42... (0 Replies)
Discussion started by: notreallyhere
0 Replies

6. UNIX for Advanced & Expert Users

Help! How to find the local host after few ssh hops to remote host???

I do a ssh to remote host(A1) from local host(L1). I then ssh to another remote(A2) from A1. When I do a who -m from A2, I see the "connected from" as "A1". => who -m userid pts/2 2010-03-27 08:47 (A1) I want to identify who is the local host who initiated the connection to... (3 Replies)
Discussion started by: gomes1333
3 Replies

7. Solaris

Host name lookup failure.

Hi Gurus I am getting the following message continuosly in my /var/adm/messages file: Aug 3 13:31:21 mumux102 sendmail: n6UHxxTm019703: to=postmaster, delay=3+14:00:01, xdelay=00:00:00, mailer=relay, pri=30730707, relay=fisbomrelay.fnfis.com, dsn=4.0.0, stat=Deferred: Name server:... (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies

8. UNIX for Advanced & Expert Users

Clueless about how to lookup and reverse lookup IP addresses under a file!!.pls help

Write a quick shell snippet to find all of the IPV4 IP addresses in any and all of the files under /var/lib/output/*, ignoring whatever else may be in those files. Perform a reverse lookup on each, and format the output neatly, like "IP=192.168.0.1, ... (0 Replies)
Discussion started by: choco4202002
0 Replies

9. UNIX for Dummies Questions & Answers

add route gives target: Host name lookup failure

We need to add our remote office to our linux routing table. Our internal office ip addresses are all in the range of 198.9.200.x with an subnet mask of 255.255.255.0 the remote office has ip addresses in the range of 192.168.0.0 and also a subnet mask of 255.255.255.0 when i use the... (3 Replies)
Discussion started by: progressdll
3 Replies

10. IP Networking

QNX host cannot ping SCO host, vice versa

The problem I am facing now is that the QNX host could not ping the SCO host and vice versa. They are in the same domain, ie, 172.20.3.xx. As I am very new to Unix, I guess I must have missed out some important steps. Pls help... Thanx alot (2 Replies)
Discussion started by: gavon
2 Replies
Login or Register to Ask a Question