Setting up private nameservers on semi-managed server w/ cPanel



I've recently set up a semi-managed server, but I'm not terribly
familiar with everything and the tech support has not exactly been
forthcoming with assistance.

The server came with:

RedHat Enterprise 4 i686 - WHM X v3.1.0
WHM 10.8.0
cPanel 10.8.2-R119

I'm in the middle of transferring about 75 accounts to this server, so
it's no live yet. On my old server, I used a private nameserver
(ns1.mydomain.com and ns2.mydomain.com), so my plan is to move
everything over, then change the child nameserver for mydomain.com to
point to the new IP addresses, thus making all 75 sites go live at
roughly the same time (give or take 48 hours).

Before making that child nameserver change, though, I'm trying to make
sure that EVERYTHING is set up correctly, and I don't think that it is.
My tech support guy referred me to this article:

http://www.webhostgear.com/11.html

While it has been pretty helpful, there are a few things that aren't
dumbed-down quite enough for me. My biggest problem, of course, comes
to manually checking files to make sure they have the right thing; I
don't know whether I should modify those files to show the right thing,
or if this is simply stating that "if THIS file doesn't say THAT, then
SOMETHING isn't configured correctly."

Directly from the article, here are the questions I have:

1. Register a Domain
- this is complete, of course

2. Additional IPs (have 2 IPs available)
- I THINK this is done, but I'm not certain. The response from my tech
guy made it sound as if it's not, although it looks like it is. In WHM,
when I click on "Show or delete current IP addresses," I have 2
sequential IPs listed (for example, 01.23.45.678 and 01.23.45.679),
which makes me think that the IPs are available. But the tech guy said
to SSH to /etc/ips and make sure that the IPs are added like this:

IP:Netmask:Broadcast IP

When I go to /etc/ips, though, this is all that I see:

01.23.45.679:255.255.255.0:01.23.45.683

(note that the IP is the second one, not the first one, and the
"broadcast IP" is the first one plus 4; I'm hesitant to give my real IP
address over newsgroups at this point because I'm not sure how secure
the server is at this point)

Does this mean that I need to add the first IP to this list, or does
this mean that something isn't set up correctly? If I can just add them
to the list, exactly how do I do that? I'm assuming that the final list
should look like this, but nothing ever specifically says:

01.23.45.678:255.255.255.0:01.23.45.683
01.23.45.679:255.255.255.0:01.23.45.683

Note that I made the netmask and broadcast IP identical for both
entries, and each are on separate lines. This is what I'm not sure
about, because I have no idea what the netmask or broadcast IP is (or
what they mean). And should they go on separate lines like this?


3. Register the nameservers
- this can be done when it's ready, sure

4. Reverse DNS
- is this something I can do on my end, or is it completely up to the
managers to do this?

5. Broken NDC/Bind
- I don't even know if I should be at this point yet, but I tried it
anyway. When I typed in ./updatenow, it gave the following error:

updatenow should only be run from upcp at ./updatenow line 10.

Unfortunately, I have no idea what that means. What's upcp, and how do
I run it?

6. Setup Nameservers in WHM
- Done

7. Tidy up Junk Nameservers
- I don't have an option to "Manage Nameserver IPs," so I'm sort of
guessing here. Under "Networking Setup," I have "Nameserver IPs," which
is the closest thing, but when I click on it there's no option to
remove anything; it goes through "updating records for 01.23.45.678...
Done" and "updating records for 01.23.45.679... Done," but that's it.

8. Initial Nameserver Setup
- I can do this, no problem

9. Restart BIND
- I can do this, too

10. Manual Checks
- If everything is right so far, then this part is what confuses me the
most.

/etc/wwwacct.conf

This looks like the article describes, so it's good.

/etc/resolv.conf

All I have here is:

nameserver 01.23.1.10
nameserver 01.23.0.10

(where 01.23 are aliases for my real IP, but the 1.10 and 0.10 are
literal)

This is the first time I've seen these 2 IP addresses; should I change
them to the addresses I gave before?

The article says that, in addition to what's currently there, there
should also be:

domain mybox.com
search mybox.com
nameserver 127.0.0.1

Do I need to modify this file? to reflect the domain name of my private
nameserver?

/etc/nameserverips

Here I have:

01.23.45.678=0
01.23.45.679=0

The article states that it should say:

01.23.45.678=ns1.mydomain.com
01.23.45.679=ns2.mydomain.com

Do I need to modify this file, or does this mean that something isn't
configured correctly?



I know that I'm asking for a lot, but I hope you guys understand that
I've basically been handed a server with no experience, and left to my
own devices. I'm supposed to have had everything read to transfer over
by Sept 1, and this is the only thing holding me back.

TIA,

Jason

.



Relevant Pages

  • Antwort: Re: Antwort: Re: timeout by DNS? [Virus checked]
    ... I think the client try to connect the first nameserver, ... If the second nameserver is o.k. ... *** Can't find server name for address 93.47.226.200:No response from ... Subject: Antwort: Re: timeout by DNS? ...
    (AIX-L)
  • Antwort: Re: Antwort: Re: timeout by DNS? [Virus checked]
    ... I think the client try to connect the first nameserver, ... If the second nameserver is o.k. ... *** Can't find server name for address 93.47.226.200:No response from ... Subject: Antwort: Re: timeout by DNS? ...
    (AIX-L)
  • Re: DNS and router
    ... trying to ask the "wrong" nameserver, or it does not know about ... If I connect the laptop directly to my router/modem it works fine. ... If, however, I connect it to my server and then the server tot he router/modem it doesn't work. ...
    (comp.os.linux.networking)
  • Userenv error when Admin logs on to server
    ... the server is running great. ... pointing to itself for DNS and the DNS Event log does not show any ... Advanced TCP IP Settings - IP Settings ... 10.in-addr.arpa nameserver = qstbo.ba-dsg.net ...
    (microsoft.public.windows.server.sbs)
  • Antwort: Re: Antwort: Re: timeout by DNS? [Virus checked]
    ... I think the client try to connect the first nameserver, ... *** Can't find server name for address 93.47.226.200:No response from ... Subject: Antwort: Re: timeout by DNS? ...
    (AIX-L)