Results 1 to 4 of 4

Thread: dns,bind

  1. #1

    Default dns,bind

    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 ===================

  2. #2
    Join Date
    Aug 2007
    Posts
    187

    Default

    Hello,

    The problem was with the name server [ps26009.eukhost.com] you've mentioned in the zone file of your domain btracks.co.uk on your server.
    As your server have been assigned the registered DNS i.e. 'ns11485.ukvpshosting.com' and 'ns11486.ukvpshosting.com' so you should have to use only these name servers for your domains on your server.

    I've now corrected them in the DNS zone of this website and verified that your site BTEC Tracking System is resolving and working fine.
    Regards,
    Victor,
    Support Team.

  3. #3

    Default

    More to this you didnt have port 53 open on the server Firewall which was blocking query coming to your server.

    I have added the firewall rules to accept the dns queries and it should be all good.

    Best Luck

  4. #4

    Default Thanks

    Many thanks for your prompt help.

    The dns resolution seems to be working fine.

    Thanks again,

    Gary

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •