04-27-2008
What to change
Solaris provides extensive control over the means of looking up various name services including DNS. If DNS resolution of hostnames has not been setup, the nsswitch.conf file must be configured in addition to resolv.conf.
Once you have configured the DNS client settings in Solaris, you need to alter the /etc/nsswitch.conf file. This name services configuration file controls a variety of lookup types with several services including NIS/NIS+ and LDAP.
To configure your host to perform hostname lookups with DNS, modify the line that starts with hosts: to include the keyword dns. For example, if your /etc/nsswitch.conf file hosts line looks like:
hosts: files
change it to read:
hosts: files dns
The order of keywords on this line indicates the order in which Solaris references the name services. The keyword files represents the /etc/hosts file.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I change domain name from shell?
I know how to change hostname but not domain.
Please help me.
Thank you, (3 Replies)
Discussion started by: lucas
3 Replies
2. IP Networking
How do I change domain name from shell?
And
How do I check the domain name from shell?
I know how to change hostname but not domain.
Please help me.
Thank you, (2 Replies)
Discussion started by: lucas
2 Replies
3. IP Networking
Hello,
I'm using CentOS 5.3, and I connect to a VPN in order to work. The problem is that I'm constantly accessing things on the local network and the remote network. But once I'm connected to the VPN I can't access local addresses by name, I have to use the ip-address.
What I'd like is to... (4 Replies)
Discussion started by: martincastell
4 Replies
4. Linux
Hi everybody,
for revolving local host name of my network, I set up an dns server to solve my problem, but til now, nothing happen when I ping a hostname, but work on IP. Can you help me to correct the configuration. Here is all my settings:
Voici mes fichiers de configuration:
-... (2 Replies)
Discussion started by: beloge2002
2 Replies
5. UNIX for Advanced & Expert Users
Good morning every body
When I add a new user the domain is my hostname
I want to change it to my local domain
EXample
my computer hostname is X when I create a new user Y and he logged I see X@Y and me I want to have Y@localdomain
Think (1 Reply)
Discussion started by: gone
1 Replies
6. Shell Programming and Scripting
Hello to all,
May you help saying me how to flush a specific domain in Linux SunOS5
I know the command rndc is to flush DNS cache, but I would like to know:
1- How to do a flush only on specific domain
2- How to see the content of DNS Resolver cache (similar to info given by IPCONFIG... (2 Replies)
Discussion started by: Ophiuchus
2 Replies
7. Linux
I have read many tutorials on bind and i understand the A,MX, CNAME records.
Internally, on a LAN we can install bind and create all these records and we can tell all PC and servers to use this bind as DNS server.that's fine.
On the Internet, when we have purchased a valid domain like... (5 Replies)
Discussion started by: coolatt
5 Replies
8. UNIX for Advanced & Expert Users
Hello,
Our organization is planning to move one domain from Dreamhost to Hubspot. Lets say, it is gem.xyxyxyxyx.com. Please note, website is not being migrated from one server to another, it is just hosting company.
Here is from our internal DNS master server -
# cat... (6 Replies)
Discussion started by: solaris_1977
6 Replies
9. UNIX for Beginners Questions & Answers
In my /etc/resolv.conf file there is domain name defined. But when I do nslookup the domain name is not appended. Why? (18 Replies)
Discussion started by: broy32000
18 Replies
YPBIND(8) BSD System Manager's Manual YPBIND(8)
NAME
ypbind -- create and maintain a binding to a YP server
SYNOPSIS
ypbind [-ypset] [-ypsetme] [-insecure]
DESCRIPTION
ypbind finds the server for a particular YP domain and stores information about it in a binding file. This binding information includes the
IP address of the server associated with that particular domain and which port the server is using. This information is stored in the direc-
tory /var/yp/binding in a file named with the convention DOMAINNAME.version. (The YP system only supplies information on version 2.)
When ypbind starts the primary domain (or gets the first request for a new domain), it checks if a file for the domain in question exists in
the directory /var/yp/binding (ie. /var/yp/binding/DOMAINNAME.ypservers). If such a file exists, it will list the hosts which ypbind should
restrict its server search to. Otherwise, ypbind assumes it will need to use broadcasts to find a valid server. Using either of these tech-
niques, ypbind will search for a server willing to serve maps for the client's domain. Once a binding is established, ypbind maintains this
binding by periodically communicating with the server to which it is bound. If the binding is somehow lost, e.g by server reboot, ypbind
marks the domain as unbound and attempts to re-establish the binding. When the binding is once again successful, ypbind marks the domain as
bound and resumes its periodic check.
The options are as follows:
-ypset ypset(8) may be used to change the server to which a domain is bound.
-ypsetme ypset(8) may be used only from this machine to change the server to which a domain is bound.
-insecure
permit binding to a ypserv(8) on a non-reserved port. This is needed if receiving maps from SunOS 3.x or Ultrix.
-d enable debugging output.
The -ypset and -ypsetme options are dangerous and should be avoided. For greatest security, the use of a server list in
/var/yp/binding/DOMAINNAME.ypservers is recommended. The file should contain a list of valid YP server hostnames, with one hostname per
line. The comment character is #.
FILES
/var/yp/binding/DOMAINNAME.version - binding file for domainname /var/yp/binding/DOMAINNAME.ypservers - server list for this particular
domain
SEE ALSO
domainname(1), ypcat(1), ypmatch(1), yppoll(8), ypset(8), ypwhich(1), ypserv(8), yp(8)
AUTHOR
Theo de Raadt
BSD
October 25, 1994 BSD