Confused myself....

snickn

Verified User
Joined
Oct 7, 2003
Messages
23
Location
los angeles, cali
Okay, half of me is embarrassed to even have to ask this, but I've never done the lower end..."run BIND/named on your actual server" game..so here it goes...

I created a DirectAdmin server...named it vanity.lunarpages.com, more or less..very similar to what we will do when we sell thse servers...which will be more like cust0003.lunarpages.com or whatever...anyway...

I than made the primary domain on it "snickn.com" which currently is pointed at our main (standalone) nameservers.

I am trying to simulate exactly as a customer would do, which includes running bind and being their own nameserver.

I've read how to create the nameservers, and I believe I have them created on the DA server as ns1.snickn.com, ns2.snickn.com, however.....

Here's what's throwing me off, for snickn.com the nameservers should be themselves (ns1.snickn.com, ns2.snickn.com) since that's what the customer would use, however how would this work? My first thought would be to do a IN NS on our nameservers (ns1.dynamicname.com/ns2.dynamicname.com) but that's not something a customer would normally do, so that's nothing something I'd do...can I put ns1.snickn.com,ns2.snickn.com as the nameservers for snickn.com with the registrar, and will this still work?

I think I'm thinking way too far into this, but help would be appreciated...I admin 40+ large servers, however i've never to this day tried to run a nameserver on the same server I have my clients on...
 
Hello,

If they are going to use ns's for their own domain, they easy way is to get them to point their ns's (through their registrar) to ns1 and ns2 created on the server. Everything else should already be set up if you've created the nameservers on the DA machine.

Registrar:
ns1: ns1.snickn.com
ns2: ns2.snickn.com

snickn.com zone on the DA machine: (just basic idea)
snickn.com -> ip on the DA machine
ns1 -> ip on the DA machine
ns2 -> ip on the DA machine
IN NS ns1
IN NS ns2

John
 
Okay so I'm quite sure I set it all up on snickn.com/vanity.lunarpages.com correct, have named running and everything, but as I originally thought, the registrars won't be able to see ns1.snickn.com, because it'll look at where snickn.com is now, which is ns1.dynamicname.com....

What is slippn' my mind here?

[edit]
Here are the logs, so the zone records are definately being seen...

[root@vanity log]# tail -f messages
Oct 8 16:07:56 vanity named[17138]: listening on IPv4 interface eth0:0, 64.235.234.18#53
Oct 8 16:07:56 vanity named[17138]: listening on IPv4 interface eth0:1, 64.235.234.17#53
Oct 8 16:07:56 vanity named[17138]: command channel listening on 127.0.0.1#953
Oct 8 16:07:56 vanity named[17138]: zone 0.0.127.in-addr.arpa/IN: loading master file named.local: file not found
Oct 8 16:07:56 vanity named[17138]: zone snickn.com/IN: loaded serial 2003100801
Oct 8 16:07:56 vanity named[17138]: zone test.snickn.com/IN: loaded serial 2003100800
Oct 8 16:07:56 vanity named[17138]: zone localhost/IN: loading master file localhost.zone: file not found
Oct 8 16:07:56 vanity named[17138]: running
Oct 8 16:07:56 vanity named[17138]: zone snickn.com/IN: sending notifies (serial 2003100801)
Oct 8 16:07:56 vanity named[17138]: zone test.snickn.com/IN: sending notifies (serial 2003100800)

[/edit]
 
Last edited:
Hello,

Code:
> dig snickn.com @64.235.234.19
;; QUESTION SECTION:
;snickn.com.                    IN      A

;; ANSWER SECTION:
snickn.com.             14400   IN      A       64.235.234.19

;; AUTHORITY SECTION:
snickn.com.             14400   IN      NS      ns1.snickn.com.
snickn.com.             14400   IN      NS      ns2.snickn.com.
so you have set it up right on the server, but you might have to change your registrar records, as when I do a whois, I still get
Code:
 Domain servers in listed order:
    NS1.DYNAMICNAME.COM   207.0.50.10
    NS2.DYNAMICNAME.COM   64.235.234.138

John
 
When I try to tell OpenSRS the new nameservers it says something along the lines of "cannot verify the nameservers existance" I can give ns1/ns2 A records on dynamicname would would than let it verify the existance, but is that the correct way of doing it?
 
Back
Top