multi IP setup

twistedgamer

New member
Joined
Feb 1, 2007
Messages
4
Ok I want to make sure I understand what I'm doing before I mess with this.

I just purchased a dedicated box with DA on it.

They initally set it up with one of my 5 IP's.

I added eth0:0-3 via ssh (thats how I'm used to doing it) with the required info to add the other 4 IP's to the machine. Then I discovered DA IP management. I went ahead and tried to add each address there and it gave an error about it already exsisting and then displayed them in the list.

I edited the /etc/hosts file to point 2 IP's to NS1 and NS2 as my register doesn't allow everything to point to 1 IP.

So as it stands I have all 5 IP's configured and added to the box.

I'm looking at the DNS config for the box and see that DNS is currently pointed back at the root domain causing it to show NS1 and NS2 on the same IP. So below is the current config.
Code:
ftp			A	XX.XXX.XX.162	
localhost		A	127.0.0.1	
mail			A	XX.XXX.XX.162	
ds1.example.com.	A	XX.XXX.XX.162	
pop			A	XX.XXX.XX.162	
www			A	XX.XXX.XX.162	
ds1.example.com.	NS	ns1.example.com.	
ds1.example.com.	NS	ns2.example.com.	
mail			MX	10	
ds1.example.com.	TXT	"v=spf1 a mx ip4:xx.xxx.xx.162 ?all"

Do I simply recreate the NS lines with the correct IP's on the left to put NS1 and NS2 on seperate IP's

Code:
ftp			A	XX.XXX.XX.162	
localhost		A	127.0.0.1	
mail			A	XX.XXX.XX.162	
ds1.example.com.	A	XX.XXX.XX.162	
pop			A	XX.XXX.XX.162	
www			A	XX.XXX.XX.162	
XX.XXX.XX.163		NS	ns1.example.com.	
XX.XXX.XX.164		NS	ns2.example.com.	
mail			MX	10	
ds1.example.com.	TXT	"v=spf1 a mx ip4:XX.XXX.XX.162 ?all"

or swap them so that NS1 and NS2 are on the left and IPs are on the left like the rest of the entrys.

Code:
ftp			A	XX.XXX.XX.162	
localhost		A	127.0.0.1	
mail			A	XX.XXX.XX.162	
ds1.example.com.	A	XX.XXX.XX.162	
pop			A	XX.XXX.XX.162	
www			A	XX.XXX.XX.162	
ns1.example.com.	NS	XX.XXX.XX.162	
ns2.example.com.	NS	XX.XXX.XX.162
mail			MX	10	
ds1.example.com.	TXT	"v=spf1 a mx ip4:XX.XXX.XX.162 ?all"
 
I'm not sure if this will answer your question, but here is how I have my DNS setup:

Code:
da01                    A       XX.XXX.XXX.170
ftp                     A       XX.XXX.XXX.173
landeserve.com.         A       XX.XXX.XXX.173
localhost               A       127.0.0.1
mail                    A       XX.XXX.XXX.173
ns1.landeserve.com.     A       XX.XXX.XXX.171
ns2.landeserve.com.     A       XX.XXX.XXX.172
pop                     A       XX.XXX.XXX.173
www                     A       XX.XXX.XXX.173
landeserve.com.         NS      ns1.landeserve.com.
landeserve.com.         NS      ns2.landeserve.com.
mail                    MX      10
landeserve.com.         TXT     "v=spf1 a mx ip4:XX.XXX.XXX.170 ?all"
 
ok so it looks like I need to have two additional lines in that last config example I posted.

I'll do that and then check my results with DNS Stuff to make sure there are no errors.

Thankyou
 
Back
Top