Hello,
I am trying to host my own domain name for my server. i installed bind and set it up. i think i have done this correctly. when i type in my desired domain name, since this was my first time i made a random name (dv6500321123.com), i get a page cannot be found error.
here are all my files:
bin - the folder that comes standard with BIND9
etc/named.conf:
options {
directory "c:\named\zones";
allow-transfer { none; };
recursion no;
};
zone "dv6500321123.com" IN {
type master;
file "db.dv6500321123.com.txt";
allow-transfer { none; };
};
key "rndc-key" {
algorithm hmac-md5;
secret "fHPeMX9WObW3T9ViBfVD+g==";
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
# Start of rndc.conf
key "rndc-key" {
algorithm hmac-md5;
secret "fHPeMX9WObW3T9ViBfVD+g==";
};
options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
# End of rndc.conf
# Use with the following in named.conf, adjusting the allow list as needed:
# key "rndc-key" {
# algorithm hmac-md5;
# secret "fHPeMX9WObW3T9ViBfVD+g==";
# };
#
# controls {
# inet 127.0.0.1 port 953
# allow { 127.0.0.1; } keys { "rndc-key"; };
# };
# End of named.conf
$TTL 86400 ; 24 hours could have been written as 24h or 1d
$ORIGIN dv6500321123.com.
@ 1D IN SOA ns1.dv6500321123.com. hostmaster.dv6500321123.com. (
2008081201 ; serial
3H ; refresh
15 ; retry
1w ; expire
3h ; minimum
)
IN NS ns1.dv6500321123.com. ; in the domain
IN NS ns2.dv6500321123.com. ; external to domain
IN MX 10 mail.dv6500321123.com. ; external mail provider
; server host definitions
ns1 IN A 24.58.147.96 ;name server definition
www IN A 24.58.147.96 ;web server definition
ftp IN CNAME www.dv6500321123.com. ;ftp server definition
; non server domain hosts
bill IN A 24.58.147.96
fred IN A 24.58.147.96
Configuration: Windows Vista Internet Explorer 7.0
1. Have bind doesnt make you no need to buy domain name.
|