How to Setup NS with 3 IPs?

Status
Not open for further replies.

idcyber

Verified User
Joined
Jun 18, 2009
Messages
17
Location
Indonesia
Hello,

I have 3 IPs (ex.):
69.197.142.111 (server IP)
204.12.210.1
204.12.210.2

After installed DA, the server IP is the default. Then in IP Management, I put that 2 others IPs.

Now, I have l'll bit nervous.

I set:
204.12.210.1 as ns1.domain.com
204.12.210.2 as ns2.domain.com

But, in DNS management the list IP that show is 69.197.142.111.

I try to put a domain using ns1 and ns2 and check using intodns.com, I've got an A error.

Which part I'm wrong? Or do I have to use 69.197.142.111 as ns1.domain.com?

Please give me a sign :)
 
I have change ns1 to server IP, but still an error in A record when I checked using intodns.com.

My domain to check: tokobatam.com

:rolleyes:

Update!
I think I want to re-install my DA, to figure out what's the problem.
 
Last edited:
It looks like you don't have "A" records for your name servers in your DNS.

1. Did you add the name servers under the reseller panel?

2. You should have the following two A records in your DNS:
(A) ns1.tokobatam.com. 204.12.210.17
(A) ns2.tokobatam.com. 204.12.210.18

3. You should have the following NS records.
(NS) tokobatam.com ns1.tokobatam.com
(NS) tokobatam.com ns2.tokobatam.com

You can add/delete DNS records:
>> user level >> DNS Management >>

Example of my DNS:
 

Attachments

  • linkdisk-dns.gif
    linkdisk-dns.gif
    8.9 KB · Views: 262
It looks like you don't have "A" records for your name servers in your DNS.

1. Did you add the name servers under the reseller panel?

2. You should have the following two A records in your DNS:
(A) ns1.tokobatam.com. 204.12.210.17
(A) ns2.tokobatam.com. 204.12.210.18

3. You should have the following NS records.
(NS) tokobatam.com ns1.tokobatam.com
(NS) tokobatam.com ns2.tokobatam.com

You can add/delete DNS records:
>> user level >> DNS Management >>

Example of my DNS:

Hi,

I look at your DNS Management, different from mine. In mine, all IP show the server IP including A record, except the ns1/ns2. At your's, the server IP only in mail.

That's way. Maybe I have to change the A record manually.

Thanks in advance :)
 
That is a typical Windows user response.
Haha..

DirectAdmin is a really new stuff for me. It's different than cpanel does in IP/DNS setup. In cPanel, IP and name server have to setup in the earlier :D

That's way, I need to keep learn about DA structure ;)
 
Hi,
My DNS is just an example of how it could be set up.
You could use the server IP as your own IP if you like without issue.

If you still have trouble feel free to PM me with your admin login details, so I can take a look.
 
Haha..

DirectAdmin is a really new stuff for me. It's different than cpanel does in IP/DNS setup. In cPanel, IP and name server have to setup in the earlier :D

That's way, I need to keep learn about DA structure ;)

I don't know how a control panel could possibly know what domain you want to use for nameservers or what the nameserver records are or what ip addresses you want to use. And different people on the same server could be using different nameservers and ip's. I don't see how any of that could be done automatically by a control panel.

You have to go into DNS management and add the A records for the nameserver records. The ip's you use must match the ip's you gave the registrar when setting up the nameservers there.
 
Hi Floyd,
cPanel has two choices for setting up your name servers.

1) Set them up manually
2) It will check the NS info from your registrar and automatically populate your DNS information. It's annoying to use this setting since it will use the IPs from the registrar even if they are not on your server.
 
Did you figure out what you needed to do yet?

EDIT: Looks like I directed this comment to jdlitson which I did because I forgot who was who.

So: idcyber, did you figure out what you needed to do yet?
 
Last edited:
Did you figure out what you needed to do yet?

EDIT: Looks like I directed this comment to jdlitson which I did because I forgot who was who.

So: idcyber, did you figure out what you needed to do yet?
Don't worry, I did.

I'm a newbie in DA, but not that newbie in DNS. I know what I talking about since the first time I asked here :rolleyes:

But, still I'm not satisfied with mine.

Okay, I set in my domain manager at tokobatam.com two IPs:
204.12.210.17 - ns1.tokobatam.com
204.12.210.18 - ns2.tokobatam.com

Also, I set that name server and IP in my DirectAdmin DNS Management.

My server IP: 69.197.142.188

The website loading normally, but intodns.com and robtex.com show different result for that domain.

Robtex result says that 69.197.142.188 (server IP) as ns1/ns2.tokobatam.com and 204.12.210.17 as A record of tokobatam.com

But, intodns.com says, 69.197.142.188 as A record but no glue at ns1.tokobatam.com

I'm not satisfied with this different result.

I attached my DNS in DA :)
 

Attachments

  • dns.gif
    dns.gif
    5.3 KB · Views: 183
I am thinking you did not reload named after making changes to DNS. Your server on 204.12.210.17 and 204.12.210.18 is not reporting any A records for either ns1.tokobatam.com or ns2.tokobatam.com.


Code:
[root@server70 ~]# dig @204.12.210.18 ns1.tokobatam.com

; <<>> DiG 9.3.4-P1 <<>> @204.12.210.18 ns1.tokobatam.com
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 28528
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;ns1.tokobatam.com.             IN      A

;; AUTHORITY SECTION:
tokobatam.com.          14400   IN      SOA     ns1.tokobatam.com. hostmaster.tokobatam.com. 2009081200 14400 3600 1209600 86400

;; Query time: 80 msec
;; SERVER: 204.12.210.18#53(204.12.210.18)
;; WHEN: Wed Aug 12 11:42:48 2009
;; MSG SIZE  rcvd: 82

[root@server70 ~]# dig @204.12.210.18 ns2.tokobatam.com

; <<>> DiG 9.3.4-P1 <<>> @204.12.210.18 ns2.tokobatam.com
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 18050
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;ns2.tokobatam.com.             IN      A

;; AUTHORITY SECTION:
tokobatam.com.          14400   IN      SOA     ns1.tokobatam.com. hostmaster.tokobatam.com. 2009081200 14400 3600 1209600 86400

;; Query time: 71 msec
;; SERVER: 204.12.210.18#53(204.12.210.18)
;; WHEN: Wed Aug 12 11:42:58 2009
;; MSG SIZE  rcvd: 86

[root@server70 ~]# dig @204.12.210.17 ns1.tokobatam.com

; <<>> DiG 9.3.4-P1 <<>> @204.12.210.17 ns1.tokobatam.com
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 37976
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;ns1.tokobatam.com.             IN      A

;; AUTHORITY SECTION:
tokobatam.com.          14400   IN      SOA     ns1.tokobatam.com. hostmaster.tokobatam.com. 2009081200 14400 3600 1209600 86400

;; Query time: 73 msec
;; SERVER: 204.12.210.17#53(204.12.210.17)
;; WHEN: Wed Aug 12 11:43:11 2009
;; MSG SIZE  rcvd: 82

[root@server70 ~]# dig @204.12.210.17 ns2.tokobatam.com

; <<>> DiG 9.3.4-P1 <<>> @204.12.210.17 ns2.tokobatam.com
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 65200
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;ns2.tokobatam.com.             IN      A

;; AUTHORITY SECTION:
tokobatam.com.          14400   IN      SOA     ns1.tokobatam.com. hostmaster.tokobatam.com. 2009081200 14400 3600 1209600 86400

;; Query time: 90 msec
;; SERVER: 204.12.210.17#53(204.12.210.17)
;; WHEN: Wed Aug 12 11:43:15 2009
;; MSG SIZE  rcvd: 86
 
Oops, you're right. It's done now at intodns.com, but still not in Robtex :D

Okay, I've got more knowledge of DA about IP and nameserver thing.

Thanks floyd, jdlitson :)

To Mods: You can lock this thread, problem solved :rolleyes:
 
Status
Not open for further replies.
Back
Top