you have to configure the nameservers to query for nslookup to work, or it' possible that already configured nameservers are not reachable.
in the first case, edit /etc/inet resolv.conf so that it contains the ip addresses of your nameservers (those may be your company nameservers or public nameservers), like:
where nnn.nnn.nnn.nnn is the ip address of the nameserver.
in the second case, it may be a networking issue or some issue with the configured nameservers.
see ya
fra
Guys ,
Am using Linux - Red Hat 6.1 .
My DNS and nslookup command was working fine and ppl. can resolve through this server .
but i changed something in /etc/named.conf , that stopped the DNS .
The named proccess is working , but nslookup command is not , i get this error message :
... (3 Replies)
hi,
what would cause the nslookup to work one way but not the other?
for most machine it works both ways.
>nslookup 172.18.10.235
Server: 172.16.17.3
Address: 172.16.17.3#53
235.10.18.172.in-addr.arpa name = machine1.prod.local
>nslookup machine1
Server: ... (3 Replies)
I am connecting from windows via Putty to some other Unix server.
How can I display my current windows MachineName/NTID in putty?
Thanks :) (4 Replies)
Hi All,
If I give the hostname followed by nslookup, I get the output like below,
commandprompt>nslookup efgh
Using /etc/hosts on: xyz
looking up FILES
Trying DNS
Non-authoritative answer:
Name: abcd
Address: 47.47.47.47
Aliases: efgh
I am not sure on the bolded ones. Can... (4 Replies)
Hi guys,
I'm back to get some help again :)
I have a file that has a list of IP addresses, and I use nslookup in my script to resolve hostnames of those IPs.
the problem I'm facing is that I not all the hostnames got resolved! and I don't know why. sometimes the same duplicate IP returns a... (8 Replies)
Hey folks. Long time lurker, first time poster. I'm a bit of a newbie at "coding" (obviously, scripting is a teensy bit different than coding) and I've run into a problem that I just can't seem to get around.
I'm going through a list of servers to check their name, IP, reverse-NSLOOKUP name and... (2 Replies)
Hi,
I have a rather simple awk statement to perform an nslookup on a file (list of IPs). If the lookup yields a result, then it sends it to a file. If no result, there is no output. I've been trying to use !NR or !NF with an if statement to make the output state "NA" if there is no result,... (5 Replies)
Discussion started by: umang2382
5 Replies
LEARN ABOUT FREEBSD
unbound
unbound(8) unbound 1.5.1 unbound(8)NAME
unbound - Unbound DNS validating resolver 1.5.1.
SYNOPSIS
unbound [-h] [-d] [-v] [-c cfgfile]
DESCRIPTION
Unbound is a caching DNS resolver.
It uses a built in list of authoritative nameservers for the root zone (.), the so called root hints. On receiving a DNS query it will ask
the root nameservers for an answer and will in almost all cases receive a delegation to a top level domain (TLD) authoritative nameserver.
It will then ask that nameserver for an answer. It will recursively continue until an answer is found or no answer is available (NXDO-
MAIN). For performance and efficiency reasons that answer is cached for a certain time (the answer's time-to-live or TTL). A second query
for the same name will then be answered from the cache. Unbound can also do DNSSEC validation.
To use a locally running Unbound for resolving put
nameserver 127.0.0.1
into resolv.conf(5).
If authoritative DNS is needed as well using nsd(8), careful setup is required because authoritative nameservers and resolvers are using
the same port number (53).
The available options are:
-h Show the version and commandline option help.
-c cfgfile
Set the config file with settings for unbound to read instead of reading the file at the default location,
/var/unbound/unbound.conf. The syntax is described in unbound.conf(5).
-d Debug flag: do not fork into the background, but stay attached to the console. This flag will also delay writing to the log file
until the thread-spawn time, so that most config and setup errors appear on stderr. If given twice or more, logging does not switch
to the log file or to syslog, but the log messages are printed to stderr all the time.
-v Increase verbosity. If given multiple times, more information is logged. This is in addition to the verbosity (if any) from the
config file.
SEE ALSO unbound.conf(5), unbound-checkconf(8), nsd(8).
AUTHORS
Unbound developers are mentioned in the CREDITS file in the distribution.
NLnet Labs Dec 8, 2014 unbound(8)