Need recommendations: DNS propagation with only one Ethernet line.

shaunchng

Verified User
Joined
Aug 2, 2008
Messages
8
Current I am helping out a buddy of mine who co-located 1U of rackspace for a server he will be running directadmin on. He intends to run nameservers as well as DNS propagation, so technically he will require 2 static IPs. The co-lo provider on the other hand only provided a single ethernet line with 2 allocated IPs from the main switch. Users have to use their own switches so it's quite abit of a fix as there is no place for it and doing so requires additional 1U for the switch,.

I am no expert in networking, but are these are the options available?

- Run the DNS service elsewhere or use everydns to point to a single IP
- Get another ethernet line with the 2nd IP (chargeable) from the co-lo main switch
- IP aliasing? (Did some research, is that having 2IPs from a single ethernet line into an IP) anyone tried that?

His server has 2NICs, etho and eth1. What will you recommend for this setup and what are the options?
 
You can use only one NIC,
assign both ip's to the eth0 and build your system as usual.
setup the system with one ip and add a
ifconfig eth0:1 secondip netmask 255.255.x.x
into a local startup script.
In named.conf you can use a :
listen-on { 10.0.1.1; 10.0.1.2; };
 
hi tsiou, thanks for your prompt reply, that sounds like a good solution. Will using a secondip netmask have any limitations in contrary of using a NIC for an IP each?

Given that, can the second NIC be used like say connected to another server (if he were to get another U somewhere in the rack) to do backups or mount an additional partition?

If not I think this is a perfect solution!
 
In my setup i use 3 ips in one nic (sites/email ip, dns1 ip, dns2 ip) and my second nic is connected with a cross cable to a second machine for backups.
Looks like your idea... :)
 
You should be able to assign the IP# in DirectAdmin as a nameserver (not a virtual nameserver) and you won't even have to do anything from the shell.

Jeff
 
Back
Top