Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Newbie lost in the BIND9 forest

  1. #11
    Join Date
    Jun 2012
    Beans
    8

    Re: Newbie lost in the BIND9 forest

    Sorry for the delayed response!!!
    I've sent the VPS service a ticket asking the questions you posted and will probabbly have it answered in 4 hours or so (at about 7 am here) so it'll take some time

    About the reverse DNS, thanks for clarifying that (and everything else) to me!
    You're being a light in the end of a long, long tunnel! Thanks!

  2. #12
    Join Date
    Feb 2010
    Location
    U.K.
    Beans
    782
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Newbie lost in the BIND9 forest

    Don't worry about the delayed response - I slept too

    Anyway here is a revised working db.tincgaming.com zonefile configuration for you:

    Code:
    ;
    ; BIND data file for tincgaming.com
    ;
    $TTL 14400
    @ IN SOA ns1.tincgaming.com. indo.tincgaming.com. (
     2012063003 ; Serial
     7200 ; Refresh
     120 ; Retry
     2419200 ; Expire
     604800 ) ; Negative Cache TTL
    ;
    @ IN NS ns1.tincgaming.com.
    @ IN NS ns2.tincgaming.com.
    tincgaming.com. IN A 200.160.239.84
    localhost IN A 127.0.0.1
    @ IN MX 10 mail.tincgaming.com.
    ns1 IN A 200.160.239.84
    ns2 IN A 200.160.239.84
    www IN A 200.160.239.84
    mail IN A 200.160.239.84
    ftp IN A 200.160.239.84
    tincgaming.com. IN TXT "v=spf1 mx mx:tincgaming.com -all"
    I added it on to my lan BIND server to test it:
    Code:
    crypto@ubuserver:/etc/bind$ dig tincgaming.com any
    
    ; <<>> DiG 9.7.0-P1 <<>> tincgaming.com any
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11101
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 3
    
    ;; QUESTION SECTION:
    ;tincgaming.com.            IN    ANY
    
    ;; ANSWER SECTION:
    tincgaming.com.        14400    IN    TXT    "v=spf1 mx mx:tincgaming.com -all"
    tincgaming.com.        14400    IN    MX    10 mail.tincgaming.com.
    tincgaming.com.        14400    IN    SOA    ns1.tincgaming.com. indo.tincgaming.com. 2012063005 7200 120 2419200 604800
    tincgaming.com.        14400    IN    NS    ns2.tincgaming.com.
    tincgaming.com.        14400    IN    NS    ns1.tincgaming.com.
    tincgaming.com.        14400    IN    A    200.160.239.84
    
    ;; ADDITIONAL SECTION:
    mail.tincgaming.com.    14400    IN    A    200.160.239.84
    ns1.tincgaming.com.    14400    IN    A    200.160.239.84
    ns2.tincgaming.com.    14400    IN    A    200.160.239.84
    
    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Mon Jul  2 01:58:25 2012
    ;; MSG SIZE  rcvd: 239
    You might want to just verify that SPF TXT entry is what you require as I amended it in the process of getting your zonefile to work.

    Let us know how you get on

  3. #13
    Join Date
    Jun 2012
    Beans
    8

    Re: Newbie lost in the BIND9 forest

    IT WORKS!!!!
    Man, cryptotheslow, I LOVE YOU!
    today I studied more about DNS and about how it works and tried modifying the file more but to no avail! You saved me so hard! I can't thank you enough! And my VPS service provider still hasn't answered!
    Thank you very very much!!!
    It's extremelly hard to find someone kind and patience with the noob kinds like me!
    You have my gratitude!!!!
    Lico

  4. #14
    Join Date
    Feb 2010
    Location
    U.K.
    Beans
    782
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Newbie lost in the BIND9 forest

    No problem at all These forums have helped me out many many times, it's nice to be able to give a little back. I'm a newb myself compared to most people on here, I just happen to have had a few VPSs, run some webhosting and been through through the basics of learning DNS stuff (I am by no means an expert!!).

    If you decide to continue to run your own DNS on this server then you will need to:
    1. Configure one of your additional IP addresses onto the network interface of the VPS
    2. Configure BIND to listen on both IP addresses and using the 2nd IP as a secondary server
    3. Update your zone file so that ns2.tincgaming.com resolves to the additional IP address
    4. Get your provider to remove their NS records from your domain record and replace them with your ns1 and ns2
    5. Get your provider to update the DNS glue records to resolve your ns1 and ns2 with the domain registrar

    "Glue" records are required when the NS records for a domain are within that same domain. In order to avoid circular lookups the registrar needs to be able to resolve the IP addresses for the nameservers.

    This explains it better than I can:
    http://faq.domainmonster.com/dns/glue_record/

    If your NS IP addresses are in the same subnet you will get warnings when you run some online DNS setup checking tools. This is because according to the RFC standards the two nameservers for a domain should be on separate subnets and ideally geographically separate. However, that does not stop things from working when both IPs are on the same machine or subnet.

    Oh - and you can delete your reverse lookup zone configuration. The only time it is meaningfully used is for mail SPF reverse lookups. Your MX IP already reverses to tincgaming.com and you have a tincgaming.com SPF record in your zone file - so it should be fine.

    Have fun and let us know how you get on

  5. #15
    Join Date
    Jun 2012
    Beans
    8

    Re: Newbie lost in the BIND9 forest

    Thank you very much, everything is working fine and i'll soon configure a new IP on the DNS! I owe you!
    Lico

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

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