LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   BIND Centos Problems (https://www.linuxquestions.org/questions/linux-newbie-8/bind-centos-problems-4175459816/)

aelgate3 04-27-2013 04:45 PM

BIND Centos Problems
 
Hello I am trying to configure my bind but I can't understand. I read a lot of topics but all the time I have problem.

I just want to know the correct details to put for named.conf .
My server IP is that http://50.115.167.158/ and I have 50.115.167.158 , 50.115.167.159

Also I configure ns1.sportnetcy.com ns2.sportnetcy.com through godaddy.
Please tell me how I have to write my code in named.conf and at my zone file :/

I trying 2 days but I can't do it

aelgate3 04-27-2013 05:08 PM

Now when I put the command service named start is starting.....


my named.conf file is


options {
directory "etc";
pid-file "/var/run/named/named.pid";
allow-transfer { none; };
recursion no;
};

zone "sportnetcy.com" IN {
type master;
file "/var/named/sportnetcy.com.hosts";
allow-transfer { none; };
};


my sportnetcy.com.hosts file is
; BIND db file for sportnetcy.com

$TTL 86400

@ IN SOA ns1.sportnetcy.com. info.sportnetcy.com. (
2013042701 ; serial number YYMMDDNN
28800 ; Refresh
7200 ; Retry
864000 ; Expire
86400 ; Min TTL
)

NS ns1.sportnetcy.com.
NS ns2.sportnetcy.com.


$ORIGIN sportnetcy.com.


But still not working to connect :(


All times are GMT -5. The time now is 12:19 PM.