So ive been attempting to solve this for 2 days now and finally have gotten to the point where im at that quitting stage - so here i am
Basically ive been trying to set up a dns server on our OVH dedicated server (12.04 Precise Pangolin )
Our domain is basement-gaming.net and ive been trying to set up nameservers for it so i can use them for our domain
The problem is that i set up 2 nameservers called ns1.domain.com and ns2.domain.com
but they just dont work when im attempting to add them in to the nameserver for our domain.
So ive been going through the configs for all of our binds for the past 2 days looking through peoples posts and threads on BIND9 and how they set it up.
and ive become utterly lost in whats going on.
Heres my bind9 configs / resolvs
named.conf.local
Code:
zone "basement-gaming.net" { type master;
file "/etc/bind/zones/basement-gaming.net.db";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "/etc/bind/zones/rev.0.0.127.in-addr.arpa";
};
named.conf.options
Code:
options { directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
forwarders {
198.245.51.42;
};
//========================================================================
// If BIND logs error messages about the root key being expired,
// you will need to update your keys. See https://www.isc.org/bind-keys
//========================================================================
dnssec-validation auto;
auth-nxdomain no;
listen-on-v6 { any; };
};
basement-gaming.net.db
Code:
$TTL 1d
basement-gaming.net. IN SOA ns1.basement-gaming.net. admin.basement-gaming.net. (
2006081401
28800
3600
604800
38400
)
basement-gaming.net. IN NS ns1.basement-gaming.net.
basement-gaming.net. IN NS ns2.basement-gaming.net.
basement-gaming.net. IN MX 10 mta.basement-gaming.net.
www IN A 127.0.0.1
mta IN A 127.0.0.4
ns1 IN A 127.0.0.2
ns2 IN A 127.0.0.3
basement-gaming.net. IN A 198.245.51.42
rev.0.0.127.in-addr.arpa
Code:
$TTL 604800
@ IN SOA ns1.basement-gaming.net. admin.basement-gaming.net. (
2006081401;
28800;
604800;
604800;
86400
)
IN NS ns1.basement-gaming.net.
IN NS ns2.basement-gaming.net
1 IN PTR basement-gaming.net
resolv.conf
Code:
# Generated by NetworkManagersearch basement-gaming.net
nameserver 127.0.0.1
nameserver 198.245.51.42
nameserver ns4001388.ip-198-245-51.net
Please help me and try and figure out what ive done wrong, as ive literally hit the point where im ready to trash this and just call quits
What im trying to do in summary is set up a dns server so that i can use nameservers for my domain which i bought
heres some picutres from when i run the checks
Bookmarks