[Linux-Discussion] Re: changing hostname problems

  • From: John Madden <weez@xxxxxxxxxxxxx>
  • To: linux-discussion@xxxxxxxxxxxxx
  • Date: Fri, 14 Dec 2001 19:03:25 -0500

> $TTL 3600
> @       IN      SOA     ns.heftyhosting.com.
> postmaster.ns.heftyhosting.com. 2001120602 10800 3600 604800 3333
> @       IN      A       66.33.80.195
> @       IN      A       66.33.81.195
> ftp.heftyhosting.com.   IN      A       66.33.80.195
> heftyhosting.com.       IN      MX      10 mail.heftyhosting.com.
> heftyhosting.com.       IN      NS      ns.heftyhosting.com.
> heftyhosting.com.       IN      NS      ns2.heftyhosting.com.
> heftyintro      IN      CNAME   heftyhosting.com.
> mail.heftyhosting.com.  IN      A       66.33.80.195
> www.heftyhosting.com.   IN      A       66.33.80.195

Try adding: 

ns.heftyhosting.com IN A 66.33.80.195

You've got the nameserver entries, which are necessary, but you've got 
nothing to hook 'ns' to an IP address.  

Disclaimer: I've never setup a DNS server before, this is just what 
appears to be logical.  You should probably look in a DNS HOWTO or 
something!

> when I do 'hostname' I get this:
>
> [root@ns /]# hostname
> ns.heftyhosting.com

Right, this is the box's hostname, it has nothing to do with what's in DNS.

John



-- 
# John Madden  weez@xxxxxxxxxxxxx ICQ: 2EB9EA
# FreeLists, Free mailing lists for all: //www.freelists.org
# UNIX Systems Engineer, Ivy Tech State College: http://www.ivy.tec.in.us
# Linux, Apache, Perl and C: All the best things in life are free!

Other related posts: