Sponsored Content
Full Discussion: Host name Lookup Failure
Operating Systems Linux Host name Lookup Failure Post 302984832 by RudiC on Tuesday 1st of November 2016 09:10:12 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
nscd(8) 						      System Manager's Manual							   nscd(8)

NAME
/usr/sbin/nscd - name service cache daemon DESCRIPTION
Nscd is a daemon that provides a cache for the most common name service requests. The default configuration file, /etc/nscd.conf, deter- mines the behavior of the cache daemon. See nscd.conf(5). Nscd provides cacheing for the passwd(5), group(5), and hosts(5) databases through standard libc interfaces, such as getpwnam(3), getp- wuid(3), getgrnam(3), getgrgid(3), gethostbyname(3), and others. Each cache has a separate TTL (time-to-live) for its data; modifying the local database (/etc/passwd, and so forth) causes the cache to become invalidated within fifteen seconds. Note that the shadow file is specifically not cached. getspnam(3) calls remain uncached as a result. OPTIONS
--help will give you a list with all options and what they do. NOTES
Nscd doesn't know anything about the underlaying protocols for a service. This also means, that if you change /etc/resolv.conf for DNS queries, nscd will continue to use the old one if you have configured /etc/nsswitch.conf to use DNS for host lookups. In such a case, you need to restart nscd. SEE ALSO
nscd.conf(5), nsswitch.conf(5) AUTHOR
nscd was written by Thorsten Kukuk and Ulrich Drepper. GNU C Library 1999-10 nscd(8)
All times are GMT -4. The time now is 02:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy