Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

fqdn and domain in solaris 11.1

nettezzaumanaJan 16 2014 — edited Jan 16 2014

hello,

i have difficulties to understand and set up fqdn in solaris .. sendmail still annoys me with his message about missing fqdn and using hostname instead .. what I did:

i set my domain on several places:

# svcprop dns/client | grep domain
config/domain astring agstest

# tail -1 /etc/hosts
10.0.255.129    agsdev1.agstest agsdev1 ##### obligatory hosts entry

# cat /etc/defaultdomain
agstest

# check-hostname 
Hostname agsdev1 OK: fully qualified as agsdev1.agstest

what is please correct way to set domain that domainname binary returns it and that sendmail does not annoy me ? in what SMF services is domainnae supposed to be ?

what is the purpose of system/identity:domain when it actually does not contain domain ?

# svcs -a | egrep identity\|dns
disabled       Jan_14   svc:/network/dns/multicast:default
online         Jan_14   svc:/system/identity:node
online         Jan_14   svc:/system/identity:domain
online         12:59:27 svc:/network/dns/client:default

i'd be very glad if anybody brings some light on this .. i'm really confused.

thanks, daniel

Comments

Dave Miner-Oracle

system/identity:domain configures the domain used for NIS and LDAP nameservices, it's used to generate what goes in /etc/defaultdomain.  That domain hierarchy may or may not be the same as the one you use for DNS, which is where hostname lookups will normally be done.

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 13 2014
Added on Jan 16 2014
1 comment
1,809 views