You are not logged in.
My computer isn't showing up in DNS, and I believe the domain name is the culprit. I need to be on domain 'example.com'. My defaultdomain file seems to be set properly:
[root@nathanb-box etc]# cat defaultdomain
example.com
And also:
[root@nathanb-box conf.d]# cat nisdomainname
#
# NIS domain to be set in /etc/rc.d/ypbind
#
NISDOMAINNAME="example.com"
However:
[root@nathanb-box conf.d]# echo $NISDOMAINNAME
[root@nathanb-box conf.d]#
Obviously none of that worked:
[root@nathanb-box conf.d]# domainname
localdomain
[root@nathanb-box conf.d]# domainname example.com
localdomain
How do I set it to example.com? Sorry for the no-doubt noobish question.
Offline
Not sure if this will solve your problem, but check if you've got
inetutils
installed.
I had a problem with the host name of a server a while back and installing inetutils solved it.
Offline
[nathanb@nathanb-box ~] pacman --sync --search inetutils
core/inetutils 1.8-6 (base) [installed]
A collection of common network programs
Also, I should mention that resolv.conf has "domain example.com" at the top
Offline
Sorry for being late, but today I stubled over this myself. The moves between inetutils and net-tools seem to have hosed something here. domainname isn't working properly now. Use hostname -d instead. As for nisdomainname you have to edit the file
/etc/conf.d/nisdomainname
to look like this:
NISDOMAINNAME="your.domain"
Did you check your /etc/hosts to reflect your domain and hostname? See here
https://wiki.archlinux.org/index.php/Ne … _host_name
HTH
Harvey
Linux is like a wigwam: No Gates, no Windows and an Apache inside
Offline