domainname(8) System Manager's Manual domainname(8)NAME
domainname - set or display name of current domain
nisdomainname - set or display name of current NIS(YP) domain
ypdomainname - set or display name of current NIS(YP) domain
SYNOPSYS
domainname [ domain ]
nisdomainname [ domain ]
ypdomainname [ domain ]
DESCRIPTION
Without an argument, domainname displays the name of the current NIS domainname of the system. domainname uses the getdomainname(2)
function for getting the domainname, nisdomainname and ypdomainname are using yp_get_default_domain(3).
Only the super-user can set the name of the domain by specifying the new domain as an argument. All three programs uses setdomainname(2)
for this. Bear in mind, that already running programs may continue to use the old domainname.
SEE ALSO getdomainname(2), setdomainname(2), yp_get_default_domain(3), ypbind(8), ypcat(1), ypmatch(1), ypwhich(1), yppoll(8), ypserv(8), yset(8)AUTHOR
domainname is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@suse.de>.
YP Tools 2.9 May 1999 domainname(8)
I can't keep the domainname on my solaris 8 box. It will keep the domainname I give it for the day but that is it. the next day it is gone. I have tried two things:
domainname (domainname I wanted)
and
I have done a sysunconfig and set the domainname.
Both gave me the same results. ... (1 Reply)
I'm kindda confused about domainname and /etc/defaultdomain.
If I type domainname tesT.com, will this be added to /etc/defaultdomain or do I need to add manually on /etc/defaultdomain as well?...second question, if I type domainname tesT.com...is it case sensitive?
Thank you. (1 Reply)
hi
I want to setup pop3 server, so i can accept incoming mail with my own domainname for example stormpie@my-domain.org
the unix server is in a windows2000 network, behind a win2000 router not in domain, how can i do this?? plz help me
greetz (1 Reply)
Hey,
I've been on this for a while... can somebody explain to me what the domainname command really does. The man pages don't tell enough. And how can i have the domain name set so it will be the same all the time when the OS boots up. (4 Replies)
is there a variable that controls whether the settings of the domainname and dnsdomainame, nisdomaname and hostname are global or local (as in static).. i keep setting the values for these commands and after a while they disappear. how can I keep one static value that will remain even after I have... (7 Replies)
I am attempting to set up bind on an AIX 5.3 machine. I ahve created a named.conf, db.cache (for root domain and hint file) and a db.domainname file for the host entries. However, when I set my pc to use the AIX box as it's dns server, I can not resolve names. Is there anything obvious maybe I... (0 Replies)
Here's my situation.
When a user access the site domain.com it redirects to /portal which displays SKIN1 by default.
When a user accesses the site domain.com/portal?branding=SKIN1 it displays SKIN1 by default as well.
When a user access the site domain.com/portal?branding=SKIN2 it... (0 Replies)
We are running Unix AIX 5.3 and I have been asked to masquerade the sender name on our email processing.
We have one domain name and many users:
user1@domainname
user2@domainname
user3@domainname
We use mutt/sendmail to do our email processing.
I discovered that using genericstable within... (1 Reply)
I am trying to remove the context name from the url of my server.
Current URL - http://www.domainname.com/MyApp/
What I need to make is to make it avaialble at -
http://www.domainname.com/
I have already tried couple of things like below -
RewriteEngine On
RewriteCond... (0 Replies)
Hello all,
I have a not so unix question for you guys(or maybe it is). I use PUTTY to login to serverA (my putty title shows as serverA.domainname.com)
Now from ServerA i do ssh user@ServerB (i have ssh public private key setup)...
now my question is when i do ssh and logon to... (20 Replies)
Hi,
I have a domain name that I need to convert to an LDAP base for this example - "my.domain.name"
I know that I could easily see there are 3 fields and split with awk with
awk -F. '{printf "dc=%s,dc=%s,dc=%s", $1, $2, $3}'
However, what if I have 5 fields or 4 fields, is there away... (2 Replies)