specify a default domain for my server

How can I specify a default domain for my server, say "xyz.net", can I just put this entry into a file call "/etc/defaultdomain"?
[143 byte] By [cmk168] at [2007-11-25 23:21:46]
# 1

The /etc/defaultdomain file is used by NIS and NIS+ to specify a host's domain name within those naming services. So if you aren't using NIS or NIS+, you don't need to modify this file.

For DNS, you can update your /etc/resolv.conf file to look something like this:

domain nonroutable.com

nameserver 192.168.2.254

And make sure your /etc/nsswitch.conf file has:

hosts:files dns

swoneill at 2007-7-5 18:09:23 > top of Java-index,General,Talk to the Sysop...
# 2
If I'm not using a DNS server for name resolution but just the /etc/hosts file locally, will this make any different?
cmk168 at 2007-7-5 18:09:23 > top of Java-index,General,Talk to the Sysop...