I don't have DNS, and would like to resolve EVERYTHING through local /etc/hosts file.
My first sunbox has the following configuration:
# hostname
mybox.home.com
My host file is as follows:
# cat /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
192.25.x.x ... (6 Replies)
hey guys, how to add soalris box as a microsoft DNS Client ?
and how to register in the microsoft DNS ??
i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf
but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
#!/bin/sh# 'clear'for i in $(seq -w 15 37)doecho $iecho The content in ZZ=`wget --dns-timeout=0.001 http://napdweb${i}.eao.abn-iad.ea.co.../test/test.jsp`echo $ZA="Connection timed out."echo The content in Aecho $Aexpr "$A" : '..\(...\)'echo $Adone
Hi,Please see the above program.
The above... (9 Replies)
Hi!
I have a dns server (bind) with 2 zones forward and reverse and i need to resolve one ip completely different. I have add to /etc/hosts and i can ping but i can't do nslookup. I've tried to add the dns server responsible to resolve that ip on /etc/resolv.conf without success. So how can i... (2 Replies)
I'd like to get some opnions on choosing DNS server:
Windows DNS vs Linux BIND comparrsion:
1) managment, easy of use
2) Security
3) features
4) peformance
5) ??
I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Dear Members,
Please help me to resolve below script. The script is used to send the attachment in the mail with all the details. However in one of the incidents, the attachment in the mail was blank. Now the client is after me to get it resolved ASAP. So prompt response would be highly... (2 Replies)
Hi,
I have a question on how to point the DNS server-1's A-record to second DNS server, which is DNS server-2. So, the computer can access other domain which only listed in the DNS server-2. The scenario is as follow:
http://img689.imageshack.us/img689/6333/12234.png
How to configure this... (4 Replies)
I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based.
I've installed CentOS 6.2 with... (4 Replies)
Hi,
We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using
and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies
LEARN ABOUT HPUX
nsquery
nsquery(1) General Commands Manual nsquery(1)NAME
nsquery - query the Name Service Switch backend libraries
SYNOPSIS
lookup_type lookup_query [lookup_policy]
DESCRIPTION
is used to find the Name Service that returned the response to a or function call. This application is Name Service Switch aware and fol-
lows the lookup policies in The supported lookup_type values are:
Used to resolve host name or IP Address lookups.
Used to resolve user name or UID lookups.
Assumes that a numeric value is a UID. This option is to be obsoleted. Use and instead.
Used to resolve user name lookups.
Used to resolve UID lookups.
Used to resolve group name or GID lookups.
Assumes that a numeric value is a GID. This option is to be obsoleted. Use and instead.
Used to resolve group name lookups.
Used to resolve GID lookups.
Used to resolve host name or IP Address lookups.
Only IPv6 and IPv4-mapped IPv6 address will be displayed for host name lookups.
The lookup_query can either be a host name, IP Address (IPv4 only), user name, user ID, group name, or group ID.
The lookup_policy must be a valid lookup policy described in nsswitch.conf(4). If the policy is invalid, the system default policy will be
used. The default values for lookup_policy are:
dns [NOTFOUND=return] nis [NOTFOUND=return] files
files nis
files nis
dns [NOTFOUND=return] files
will display the lookup policy being used, the name of the service being queried, and the result of the query.
EXAMPLES
Lookup host hondo using the default hosts lookup policy.
Lookup host with ip address 15.204.204.204 using "dns files" as the hosts lookup policy.
Lookup user dog using "ldap" as the passwd lookup policy.
Lookup user ID 105 using the default passwd lookup policy.
Lookup group wayne using group lookup policy "nis [NOTFOUND=RETURN] files".
Lookup group 22 using the default group lookup policy.
Lookup host rio using "dns" as the ipnodes lookup policy.
RETURN VALUE
returns the following values:
Success.
Invalid Usage.
Unknown Action.
No match found in any name services queried.
WARNINGS
The and lookup_type values are to be obsoleted. For use or instead. For use or instead.
AUTHOR
was developed by Hewlett-Packard.
SEE ALSO nsswitch.conf(4).
nsquery(1)