LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-30-2004, 03:31 AM   #1
BoaR
LQ Newbie
 
Registered: Aug 2004
Location: Canada
Posts: 3

Rep: Reputation: 0
Unhappy Gentoo nameserver creation help =\


After 8 hours of trying and using every search engine on the web, I finally am giving up and asking for help.

You guy's are the masters so I am sure this will be answered quickly.


Not a home server - but an unmanaged webserver (dedicated box). My other admin just finished installing gentoo (kernel 2.9) on the box. To make it easier for us, webmin is installed on the box.

I have 15 ip's to play with (in addition to the actual server ip) Here is what I would like to do.

map 4 of the extra ip's to each their nameservers so like ns1, ns2,ns3,ns4 then have all my domains that will be hosted (3 currently that will be using each their own extra ip's) pointing to use the server's 4 nameservers that will be created.

I know the last step is mapping the ip's on the domain registar to make them active. (already know how to do this.)

It's the damn server side usage that has stumped me.


Can anyone give me some very simple instructions on how to accomplish this feat? How to go about it, commands, best way, etc. (Please keep in mind that I have a lot of trouble with linux and gentoo is way beyond my skills.)

Thank you very much for all your help
 
Old 10-30-2004, 11:38 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You mean you'd like to have 4 IPs on one server? You can configure them using a command like
ifconfig eth0:1 xxx.xxx.xxx.xxx
where eth0 is the interface (external). :1 means it's extra IP. You can also use eth0:2, eth0:3 etc. xxx.xxx.xxx.xxx is one of the IPs.
 
Old 10-30-2004, 04:46 PM   #3
BoaR
LQ Newbie
 
Registered: Aug 2004
Location: Canada
Posts: 3

Original Poster
Rep: Reputation: 0
Hmm ok so that would solve one problem. and your correct. I'll be mapping all 15 of the extra ip's like this.

Now the next part would be how do I go about setting 4 of those ip's to act as nameservers for all my domains ?

Essentially I would like every domain on the box to answer to those 4 freshly created ns1,ns2 etc...
 
Old 10-31-2004, 10:03 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I'm not sure if BIND will be able to do it with only one instance. I think you'd need to make small port forwarding depending on the IP connected to the right instance of BIND (in your case 4 instances).
 
Old 10-31-2004, 11:54 AM   #5
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Quote:
Originally posted by BoaR
Hmm ok so that would solve one problem. and your correct. I'll be mapping all 15 of the extra ip's like this.

Now the next part would be how do I go about setting 4 of those ip's to act as nameservers for all my domains ?

Essentially I would like every domain on the box to answer to those 4 freshly created ns1,ns2 etc...
By defualt, named will bind to all interfaces (including aliases). If needed you can add the "listen-on" statement to named.conf to specify a subset of ip addresses.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nameserver Questions Swakoo Linux - Networking 3 08-18-2005 07:13 AM
which is my nameserver. bruse Linux - Networking 3 07-16-2005 01:45 AM
nameserver question r.stiltskin Linux - Networking 4 08-11-2004 03:46 AM
Gentoo DNS(nameserver)! Xerop Linux - Networking 3 05-20-2004 06:47 AM
Nameserver setup tpjets62 Fedora 3 04-27-2004 02:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration