#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Location
    Madison
    Posts
    419
    Rep Power
    36

    DNS and domain setup


    I'm running FreeBSD 5.0 with BIND 9.2.1. I have DSL with 5 static IPs and have registered a domain with dotster.com. I believe I have configured my DNS correctly, however, it is my first time and I am a bit confused because of a mask of 255.255.255.248. My problem is what do I enter as name servers with dotster.com. ns.mydomain.com? Doesn't seem to work so I feel like I must be doing something wrong. I'd really appreciate your time if you can help me out. Thanks!
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    5
    Rep Power
    0
    First tell us your REAL domain name. Then the IPs for your nameservsers, and their names. Without such info it's pointless to ask questions in this forum in the first place.

    >> I am a bit confused because of a mask of 255.255.255.248

    This is irrelevant to DNS.

    >> I have DSL with 5 static IPs

    Have you ifconfig'd all 5 IPs in your FreeBSD box? What did you do to each IP exactly?

    >> I believe I have configured my DNS correctly

    In what? /etc/resolv.conf? Or the ones a whois lookup should return?
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Location
    Madison
    Posts
    419
    Rep Power
    36
    My apologies, I didn't realize you would need that info.
    IPs:

    67.38.147.209-214 255.255.255.248
    209-UNIX box
    214-DSL router

    ifconfig output:

    xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=3<RXCSUM,TXCSUM>
    inet 67.38.147.209 netmask 0xfffffff8 broadcast 67.38.147.215
    inet6 fe80::250:4ff:fed9:b630%xl0 prefixlen 64 scopeid 0x1
    ether 00:50:04:d9:b6:30
    media: Ethernet autoselect (100baseTX <full-duplex>)
    status: active

    domain is madisonip.com (from dotster.com).


    resolv.conf:
    domain madisonip.com
    nameserver 67.38.147.209
    nameserver 65.43.19.26
    nameserver 206.141.192.60

    named.conf is:
    // $FreeBSD: src/etc/namedb/named.conf,v 1.13 2002/11/26 07:55:44 ume Exp $

    options {
    directory "/etc/namedb";
    pid-file "/var/run/named/pid";
    maintain-ixfr-base yes;

    };


    server 67.38.147.209 {
    provide-ixfr yes;
    request-ixfr yes;
    };

    zone "." {
    type hint;
    file "named.root";
    };

    zone "0.0.127.IN-ADDR.ARPA" {
    type master;
    file "localhost.rev";
    };


    zone "madison.com" {
    type master;
    file "/etc/namedb/madisonip.com.db";

    };

    zone "147.38.67.in-addr.arpa" {
    type master;
    file "147.38.67.in-addr.arpa.rev";

    };



    If there is anything else you need I will gladly provide it. And thank you so much for your time!
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    5
    Rep Power
    0
    >> what do I enter as name servers with dotster.com. ns.mydomain.com?

    Use ns1.madisonip.com

    >> zone "147.38.67.in-addr.arpa" {

    You can't configure this zone because, like most providers, ameritech.net would never delegate 67.38.147.209-214 such tiny classless block to customers. Configure such a zone is pointless because nobody in the world would ask your nameserver for the answer, when requesting those IPs.

    You also need to specify a slave zone for madisonip.com.

    >> 209-UNIX box

    I have no clue what this is. I need to know the nameservers name that you want to be authoritative for madisonip.com. Currently it's set as ns1.chorus.net and ns2.chorus.net but they are both lame.

    When it comes to BIND version 9 configuration I am really clueless because I ditched BIND for many years in favor of djbdns.

    I also need to know who is going to host the slave nameserver. Yourself? How many BSD box do you have?
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Location
    Madison
    Posts
    419
    Rep Power
    36
    67.38.147.209 is the IP of my BSD machine (one of them)
    67.38.147.214 is the IP of my router

    I am in the process of setting up djbdns.

    The nameservers name that you want to be authoritative for madisonip.com? Well I assume that I would want that to be ns1.madisonip.com, right? Otherwise might you suggest one?

    This is the part I am most confused about:

    >>You can't configure this zone because, like most providers, ameritech.net would never delegate 67.38.147.209-214 such tiny classless block to customers. Configure such a zone is pointless because nobody in the world would ask your nameserver for the answer, when requesting those IPs.
    So what do I do about that?

    I would like to be my own slave server. I'm in the process of setting up another UNIX box that could be the slave.

    Thanks again for the help!
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    5
    Rep Power
    0
    >> Well I assume that I would want that to be ns1.madisonip.com

    Okay.

    >> This is the part I am most confused about. So what do I do about that?

    The short answer: Do nothing. Your ISP's nameservers may be authoritative for the IP block assigned by their upstream or whoever. When it comes to reverse lookup of 67.38.147.209 your ISP barely has DNS control to it. There is no way ameritech.net would delegate 209-214.147.38.67.in-addr.arpa to you (ns1.madisonip.com).
    So you might wonder why 67.38.147.214 currently resolves to adsl-67-38-147-214.dsl.mdsnwi.ameritech.net. That was because ns1.ameritech.net and ns2.ameritech.net are authoritative for 214.147.38.67.in-addr.arpa like so:
    Code:
    dnsq ptr 214.147.38.67.in-addr.arpa ns1.ameritech.net
    12 214.147.38.67.in-addr.arpa:
    169 bytes, 1+1+2+2 records, response, authoritative, weird ra, noerror
    query: 12 214.147.38.67.in-addr.arpa
    answer: 214.147.38.67.in-addr.arpa 172800 PTR adsl-67-38-147-214.dsl.mdsnwi.ameritech.net
    authority: 147.38.67.in-addr.arpa 172800 NS ns1.ameritech.net
    authority: 147.38.67.in-addr.arpa 172800 NS ns2.ameritech.net
    additional: ns1.ameritech.net 180 A 206.141.251.2
    additional: ns2.ameritech.net 180 A 206.141.193.168
    >> I'm in the process of setting up another UNIX box that could be the slave
    Great.
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Location
    Madison
    Posts
    419
    Rep Power
    36
    Ok, so how can I get this to work? Or can't I? What needs to be done?
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    5
    Rep Power
    0
    >> so how can I get this to work?

    Get what to work? If you are having a question specifically, just ask. If your question is too broad then I just won't provide answer but to suggest you to search here or go to www.lifewithdjbdns.org.

    >> What needs to be done?

    I already told you that you DON'T need the zone for your reverse. I also said I haven't tried BIND 9 and can't offer any help on the syntax. As for BIND 8, if I can remember, I may offer some help on the configuration. Other than that, wait for someone to followup or you are on your own.
  16. #9
  17. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Location
    Madison
    Posts
    419
    Rep Power
    36
    How can I set this up so that when I try to enter ns1.madisonip.com at dotster it will accept the name server?
  18. #10
  19. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    5
    Rep Power
    0
    >> How can I set this up

    You need to go to http://www.lifewithdjbdns.org and follow the instructions on setting up the required software. As far as the data file (zone files in BIND) you can have a look here.

IMN logo majestic logo threadwatch logo seochat tools logo