Find the answer to your Linux question:
Results 1 to 2 of 2
Okay... I am new to Linux and servers. Some background, I have a fresh version of FC4 and have been trying to set up BIND for DNS (for 2 weeks ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Posts
    22

    Stumped w/DNS


    Okay... I am new to Linux and servers. Some background, I have a fresh version of FC4 and have been trying to set up BIND for DNS (for 2 weeks now) to host my own website. I have been using the documentation from the main site of this forum http://www.linuxhomenetworking.com/#Websites.

    Other stuff that may be important... I have a box that is dedicated to this task only, behind a Belkin 802.11g router (cabled not wireless), a static IP, and default gateway IP.

    I tried doing this with the Sys Settings> Server Settings> DNS using the GUI. I establishing a forward zone for my site www.thefractalfarm.net and a reverse zone for the machine that is the server and hosting the web site. This is all I should need correct? When it makes my zone files it is not putting in the Class (IN) and none of the A records I add using right click add. (the BIND also is running chroot so I put the files in both name locations)

    When I saw this was not working right I manually redid the files, restart, and still no dice.

    Do I have to wait a certain period for the nameserver to be valid on the internet? i.e. using it to forward my domain from my host site. I went out there and edited it in and it keeps telling me it is not a valid nameserver.

    Can I post my zone files and a screen shot of my BIND screen out here if someone will check them?

    I could probably use a link to a tut that breaks it down a little better because this is ALL new to me but I thought I was getting a pretty good grasp of the docs from the link above.

    Lance

  2. #2
    Just Joined!
    Join Date
    Jun 2005
    Posts
    22
    In order to solicit some help I am posting the usual DNS file info I have conf or changed in an attempt to start DNS

    Code:
    ;resolv.conf
    ; generated by /sbin/dhclient-script
    search thefractalfarm.net
    nameserver 70.61.19.54
    nameserver 24.29.1.219
    
    ;last 2 entries added to named.conf
    zone "thefractalfarm.net" {
    	type master;
    	notify no;
    	allow-query { any; };
    	file "thefractalfarm.zone";
    };
    
    zone "2.168.192.in-addr.arpa" {
    	type master;
    	notify no;
    	file "192-168-2.zone";
    };
    
    
    
    include "/etc/rndc.key";
    
    
    ;forward zone file "thefractalfarm.zone"
    $TTL	86400
    @		IN SOA	ns1.thefractalfarm.net. lance@thefractalfarm.net. (
    					2005071401	; serial (d. adams)
    					3H		; refresh
    					15M		; retry
    					1W		; expiry
    					1D )		; minimum
    	        IN NS		www
    localhost	IN A		127.0.0.1
    www		IN A		70.61.19.54
    ftp		IN A		70.61.19.54
    ns1		IN A		70.61.19.54
    
    ;reverse zone file "192-168-2.zone"
    $TTL	86400
    @		IN SOA	www.thefractalfarm.net. lance@thefractalfarm.net. (
    					2005071401	; serial (d. adams)
    					3H		; refresh
    					15M		; retry
    					1W		; expiry
    					1D )		; minimum
    	        IN NS		www			; Nameserver address
    3		PTR		www.thefractalfarm.net
    3		PTR		ftp.thefractalfarm.net
    3		PTR		ns1.thefractalfarm.net
    2		PTR		dchp-192-168-2-2.thefractalfarm.net
    Hopefully someone will see what I am doing wrong.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •