DNS name different from rc.conf hostname... is that okay?

DNS name different from rc.conf hostname... is that okay?

Post by Tyson Trebesc » Thu, 29 Jul 1999 04:00:00

I have a box running FreeBSD 3.2.  It's plugged into the MSU network.  The
DNS name for the machine is different from it's hostname I specified in
rc.conf. Is this a 'bad thing'?

I seems like this is a 'bad thing' because Samba won't run due to a
"get_hostbyname" failure:

Load smb config files from /usr/local/samba/lib/smb.conf
Get_Hostbyname: Unknown host obi-wan.msu.montana.edu
Failed to get my hostname.

I've done something ugly with my /etc/hosts to fix that for now.  I just
added an entry for my IP address with the hostname I want to use, not the
DNS name.  That seems to work.

Is there a more elegant fix, other than changing the DNS name?



1. Okay, Okay, Okay--NT and Linux

A while back I posted this question and the best response I got from a nice
gentleman in Europe, was a FAQ in German.  The problem is that I don't
spracken Deutsch!  So here it goes again:

Can anyone offer any solutions to having a Linux box dial into NT RAS for
network connectivity?

Any answers in English, Spanish, Pig Latin, and maybe even French ( after
drinking a few Coronas) would be great!

Nate El Great

2. newbie gets 553 after HELO

3. What does the rc in rc.conf stand for?

4. could see scsi card and tape drv newly installed

5. 2.2.5 rc.conf, rc.network, defaultrouter

6. Wireless mice

7. 4.1-RC and rc.conf troubles

8. Mouse not detected problem during fresh install

9. /etc/rc: sendmail parms don't match /etc/rc.conf

10. REQUEST /etc(/rc.d/rc.*) conf. files for SLIP connection

11. Changing named.conf for different PPP sites

12. resolv.conf and rc.conf

13. named and DNS hostname lookups