August 26th, 2002, 07:04 PM
Single Domain on multiple IPs
Sorry for the duplicate posts but some reason it didn't post what I wrote. Anyway, here it goes again.
I have SWBell DSL and got 5 static IPs from them. I set up DNS to run on one IP, and configured the other four IPs to be the other four Name Server in the above config file. All the NS are registered, and can be nslook-ed up. But when I ping the other 4 NS, no goes. So I am thinking maybe I need 4 different NIC Cards in one single machine? Can someone confirm this?
August 28th, 2002, 04:07 AM
I'm not sure if I understand your questions.
1) DNS has nothing to do with ifconfig
2) Creating NIC alias as well has nothing to do with DNS
3) ping is not a tool to troubleshoot DNS problem
>> I am thinking maybe I need 4 different NIC Cards in one single machine?
To reduce collision of course it's better off to use separate cards. Sometime you get assigned with 5 static IPs you don't have to use them all. Maybe you should build 4 additional boxes and assign a static IP per box.
August 28th, 2002, 09:35 AM
What I mean is that I configured everything alright. I registered my name servers as ns1, ns2, ns3, ns4, ns5 and each has different IP with the registar godaddy.com. Right now my DNS as follow:
ns1.mydomain.com IN A 184.108.40.206
ns2.mydomain.com IN A 220.127.116.11
ns3.mydomain.com IN A 18.104.22.168
ns4.mydomain.com IN A 22.214.171.124
ns5.mydomain.com IN A 126.96.36.199
The eth0 has the 188.8.131.52 IP, when I try http://ns1.mydomain.com and it works, but not with http://ns2.mydomain.com and it doesn't work, so as the others. How do I configure DNS to point all the IPs above to the 184.108.40.206 IP?
August 28th, 2002, 10:07 AM
I don't get it. What do you mean when you say to point an IP to another IP?
Let's forget about the FQDN assignment, can you ping all of them via IP only? Can other from a remote location ping all 5 IPs? If you can't, then it's not a DNS problem but rather a network configuration problem on how to go about creating NIC alias.
August 28th, 2002, 10:31 AM
ehhehe...sorry for the real confusion. Anyway, I guess you got me right. I have ONLY 1 Nic card right now with IP 220.127.116.11 and how do I create *fake* NIC aliases that I can really assign a real IP to it.
August 28th, 2002, 05:12 PM
You need to run ifconfig to add that but I'm sure there is a easier way for your unknown OS to configure this in a boot script so it's done automatically on reboot. Whatever OS that is, you should read the network configuration section of the howto.
September 1st, 2002, 03:10 AM
FreeBsd was right when he said that you don't need to use all of your ip's. The reason why you would have more than one DNS server is for ackup purposes only, however if you insist on haveing a DNS server that can be contacted by 5 diff ip's her is a tip.
You do not need to have 5 nics (although it would be nice).
add a virtual interface by typeing somthing like this.
#ifconfig eth0:1 18.104.22.168 submask 255.255.255.0
#ifconfig eth0:2 22.214.171.124 submask 255.255.255.0
#ifconfig eth0:3 126.96.36.199 submask 255.255.255.0
#ifconfig eth0:4 188.8.131.52 submask 255.255.255.0
You will also need to ad a route in your routing table for these ip's
#route add 184.108.40.206 dev eth0:1
and so on...
Hope this helps....