n8dog
asked on
DNS Bind Setup?
ok, im setting up DNS with BIND, and its my first run through...
im getting an error when i try to start DNS saying:
Failed to start BIND : Starting named: /etc/named.conf:1: unknown option '$ttl' /etc/named.conf:15: unexpected token near end of file /etc/rc.d/init.d/named: line 56: [: too many arguments [FAILED]
$ttl 38400
MYDOMAIN.net. IN SOA ns1.MYDOMAIN.net. webmaster.MYDOMAIN.net. (
1055026205
6H
1H
5D
20M )
MYDOMAIN.net. IN A XYZ.X.Y.XYZ
www.MYDOMAIN.net. IN CNAME MYDOMAIN.net.
ns1.MYDOMAIN.net. IN A XYZ.X.Y.XYZ
ns2.MYDOMAIN.net. IN A XYZ.X.B.XYA
MYDOMAIN.net. IN NS ns1.MYDOMAIN.net.
MYDOMAIN.net. IN NS ns2.MYDOMAIN.net.
mail.MYDOMAIN.net. IN MX 1 MYDOMAIN.net.
(IP and Domain changed to post here)
Anyone?
im getting an error when i try to start DNS saying:
Failed to start BIND : Starting named: /etc/named.conf:1: unknown option '$ttl' /etc/named.conf:15: unexpected token near end of file /etc/rc.d/init.d/named: line 56: [: too many arguments [FAILED]
$ttl 38400
MYDOMAIN.net. IN SOA ns1.MYDOMAIN.net. webmaster.MYDOMAIN.net. (
1055026205
6H
1H
5D
20M )
MYDOMAIN.net. IN A XYZ.X.Y.XYZ
www.MYDOMAIN.net. IN CNAME MYDOMAIN.net.
ns1.MYDOMAIN.net. IN A XYZ.X.Y.XYZ
ns2.MYDOMAIN.net. IN A XYZ.X.B.XYA
MYDOMAIN.net. IN NS ns1.MYDOMAIN.net.
MYDOMAIN.net. IN NS ns2.MYDOMAIN.net.
mail.MYDOMAIN.net. IN MX 1 MYDOMAIN.net.
(IP and Domain changed to post here)
Anyone?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
i have decided to upgrade/downgrade to cPanel which "they" tell me will be easier to setup.
thanks for that post though, it looks right to me :)
-n