DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 26th, 2002, 07:04 PM
vboyz103 vboyz103 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 14 vboyz103 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to vboyz103
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?

Thanks!

Reply With Quote
  #2  
Old August 28th, 2002, 04:07 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #3  
Old August 28th, 2002, 09:35 AM
vboyz103 vboyz103 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 14 vboyz103 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to vboyz103
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 1.2.3.4
ns2.mydomain.com IN A 1.2.3.5
ns3.mydomain.com IN A 1.2.3.6
ns4.mydomain.com IN A 1.2.3.7
ns5.mydomain.com IN A 1.2.3.8

The eth0 has the 1.2.3.4 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 1.2.3.4 IP?

Thanks!

Reply With Quote
  #4  
Old August 28th, 2002, 10:07 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
How do I configure DNS to point all the IPs above to the 1.2.3.4 IP?

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.

Reply With Quote
  #5  
Old August 28th, 2002, 10:31 AM
vboyz103 vboyz103 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 14 vboyz103 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to vboyz103
ehhehe...sorry for the real confusion. Anyway, I guess you got me right. I have ONLY 1 Nic card right now with IP 1.2.3.4 and how do I create *fake* NIC aliases that I can really assign a real IP to it.

Thanks!

Reply With Quote
  #6  
Old August 28th, 2002, 05:12 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #7  
Old September 1st, 2002, 03:10 AM
Paulblo Paulblo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: San Jose, CA
Posts: 58 Paulblo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 14 m 9 sec
Reputation Power: 13
Suggestion

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 1.2.3.2 submask 255.255.255.0
#ifconfig eth0:2 1.2.3.3 submask 255.255.255.0
#ifconfig eth0:3 1.2.3.4 submask 255.255.255.0
#ifconfig eth0:4 1.2.3.5 submask 255.255.255.0

You will also need to ad a route in your routing table for these ip's

#route add 1.2.3.2 dev eth0:1

and so on...

Hope this helps....
__________________
Thank you,

Paul B Hepworth

Questions & Answers http://www.lds.org

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Single Domain on multiple IPs

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap