LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Help Finishing BIND Setup, am I missing something? (https://www.linuxquestions.org/questions/linux-server-73/help-finishing-bind-setup-am-i-missing-something-4175412128/)

contraversy 06-18-2012 04:10 PM

Help Finishing BIND Setup, am I missing something?
 
Ok, so I have a domain http://www.mizfitz.org/ and I use zoneedit to host my name servers because I have a dynamic IP address.

I have setup bind before in FreeBSD, but just migrated to CentOS 6.2 and am setting it up again but it doesn't seem to work.

I can dig my domain and nslookup just fine, named-checkzone returns 'OK' for my zone file

I can even ssh into my computer from an outside vps by using "ssh name@www.mizfitz.org"

here are my named.conf and zone files

/etc/named.conf (the forward segment is just temporary trying to see if it resolves the issue)
Code:



forwarders {
        68.186.186.44;
        ns1.charter.com;
        192.168.2.1;
        192.168.2.5;
};

zone "mizfitz.org" {
                type master;
                file "/var/named/mizfitz.org.hosts";
};

zone "2.168.192.in-addr.arpa" {
        type master;
        file "/var/named/2.168.192.in-addr.arpa.rev";
};
zone "2.168.192.in-addr.arpa" {
        type slave;
        file "/var/named/2.168.192.in-addr.arpa.rev";
        masters { 68.186.186.44; };
};

/var/named/mizfitz.org.hosts
Code:

$TTL 3600
mizfitz.org.    IN      SOA    ns3.zoneedit.com. admin.mizfitz.org. (
                        2012061842 ;
                        3H ;
                        1H ;
                        1W ;
                        1D )

@                  IN  NS      ns3.zoneedit.com.
@                  IN  NS      ns12.zoneedit.com.


www                IN  A      192.168.2.5
ns3                IN  A      76.74.236.21
ns12                IN  A      209.62.64.46

/var/named/2.168.192.ip-addr.arpa.rev
Code:


$TTL 86400
$ORIGIN 2.168.192.in-addr.arpa.
@      IN      SOA    ns3.zoneedit.com. admin.mizfitz.org.    (
                        2007040461      ;serial
                        14400                ;refresh
                        3600                  ;retry
                        604800              ;expire
                        10800 )              ;minimum


@                IN      NS      ns3.zoneedit.com.
@                IN      NS      ns12.zoneedit.com.

5                IN      PTR  mizfitz.org


Id appreciate it if viewers would attempt to ping/dig also

When I type www.mizfitz.org in my browser (inside the LAN) it resolves my routers configuration page

Does that mean my router is set as my gateway? Is that correct?

routers 06-19-2012 12:34 AM

http://www.mizfitz.org/ answer me "hey"

; dig returned OK
; ping returned OK

so what is the actual issue :)

contraversy 06-19-2012 03:42 AM

thanks, but fortunately i resolved the issue after doing a fresh install of my OS, think the issue had to do with the chroot dir for named

So yes that fixed it, now I can save these config files till im ready to use them on my real project


thanks anyways!

colucix 06-23-2012 01:36 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of http://www.linuxquestions.org/questi...on-4175412070/.


All times are GMT -5. The time now is 11:47 AM.