Hi
I've recently set up a basic vps, and I'm trying to get the dns set up.
At the moment I'm unable to see the domain from the outside world.
Any suggestions gratefully received.
The latest thing I tried was to use system-config-bind, following instructions from
linuxmail.info/bind-setup-howto
I set up a zone (btracks.co.uk), IPV4 A record, plus an MX mail resord.
From the command line,
nslookup btracks.co.uk localhost
Server: localhost
Address: 127.0.0.1#53
Name: btracks.co.uk
Address: 87.117.246.115
This looks ok to me (in the sense that I can see the domain I set up).
I have changed name servers at 123-reg to point to ns11485.ukvpshosting.com and ns11486.ukvpshosting.com, and this has propagated (whois shos correct details).
I used this name server in place of ps26009.eukhost.com. which system-config-bind suggested (it doesn't seem to make any difference).
ps output
named 32017 0.0 0.7 193872 3988 ? Ssl 11:25 0:00 /usr/sbin/named -u named -t /var/named/chroot
========================= config files ========================
/var/named/chroot/etc/named.conf
// Red Hat BIND Configuration Tool
//
// Default initial "Caching Only" name server configuration
//
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
zone "246.117.87.IN-ADDR.ARPA." IN {
type master;
file "87.117.246_0.db";
};
zone "btracks.co.uk." IN {
type master;
file "btracks.co.uk.db";
};
zone "." IN {
type hint;
file "named.root";
};
zone "localdomain." IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost." IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa." IN {
type master;
file "named.local";
allow-update { none; };
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 .0.0.0.0.0.0.ip6.arpa." IN {
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa." IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa." IN {
type master;
file "named.zero";
allow-update { none; };
};
========================= end named.conf =====================
/var/named/chroot/var/named/btracks.co.uk.db
$TTL 1H
@ SOA vps26009.eukhost.com. root.vps26009.eukhost.com. ( 4
3H
1H
1W
1H )
NS ns11485.ukvpshosting.com.
IN 1H A 87.117.246.115
IN 1H MX 0 mail.btracks.co.uk
======================= end btracks.co.uk.db ===================


Reply With Quote
