daniel-s
24th March 2007, 10:21 PM
im trying to configure my box to set the name servers
here is what i have do so far
i edited /etc/named.conf
options {
directory "/var/named"
recursion no;;
pid-file "/var/run/named/named.pid";
forwarders {
64.191.50.139;
64.191.50.138;
};
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." {
type hint;
file "/etc/db.cache";
};
zone "myzone" {
type master;
file "/var/named/myzone.hosts";
};
zone "hugehosting.org" { type master; file "/var/named/hugehosting.org.db"; };
then /var/named/hugehosting.org.db
$TTL 14400
@ IN SOA ns1.hugehosting.org. root.hugehosting.org. (
2007022501
14400
3600
1209600
86400 )
hugehosting.org. 14400 IN NS ns1.hugehosting.org.
hugehosting.org. 14400 IN NS ns2.hugehosting.org.
hugehosting.org. 14400 IN A 64.191.50.138
ftp 14400 IN A 64.191.50.138
guns 14400 IN A 64.191.50.138
localhost 14400 IN A 127.0.0.1
mail 14400 IN A 64.191.50.138
pop 14400 IN A 64.191.50.138
www 14400 IN A 64.191.50.138
hugehosting.org. 14400 IN MX 10 mail
hugehosting.org. 14400 IN TXT "v=spf1 a mx ip4:64.191.50.138 ?all"
what i need to do next ? i wanna that my box to have this host hugehosting.org, and when im open hugehosting.org in browser to see the files from /var/www/html/
here is what i have do so far
i edited /etc/named.conf
options {
directory "/var/named"
recursion no;;
pid-file "/var/run/named/named.pid";
forwarders {
64.191.50.139;
64.191.50.138;
};
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." {
type hint;
file "/etc/db.cache";
};
zone "myzone" {
type master;
file "/var/named/myzone.hosts";
};
zone "hugehosting.org" { type master; file "/var/named/hugehosting.org.db"; };
then /var/named/hugehosting.org.db
$TTL 14400
@ IN SOA ns1.hugehosting.org. root.hugehosting.org. (
2007022501
14400
3600
1209600
86400 )
hugehosting.org. 14400 IN NS ns1.hugehosting.org.
hugehosting.org. 14400 IN NS ns2.hugehosting.org.
hugehosting.org. 14400 IN A 64.191.50.138
ftp 14400 IN A 64.191.50.138
guns 14400 IN A 64.191.50.138
localhost 14400 IN A 127.0.0.1
mail 14400 IN A 64.191.50.138
pop 14400 IN A 64.191.50.138
www 14400 IN A 64.191.50.138
hugehosting.org. 14400 IN MX 10 mail
hugehosting.org. 14400 IN TXT "v=spf1 a mx ip4:64.191.50.138 ?all"
what i need to do next ? i wanna that my box to have this host hugehosting.org, and when im open hugehosting.org in browser to see the files from /var/www/html/