943,962 Members | Top Members by Rank

  • Networking Discussion Thread
  • Unsolved
  • Views: 19385
  • Networking RSS
Nov 7th, 2006
0

How To Install Dns in Linux ?

Expand Post »
hi All

can any one tell me how can i install DNS by using LINUX..
basically i have installed RED HAT.. and i havnt install BIND in that..

now i want to know that how can i install BIND by using commands.. and how can i install BIND by using commands...

can any one tell me ?

Thank you for your time..

Saqib
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
saqib389 is offline Offline
4 posts
since Oct 2006
Nov 7th, 2006
0

Re: How To Install Dns in Linux ?

Hello,

Installing Bind is not complex. First of all, you'll want to download an RPM for Bind:

http://penguinman.com/rh9/bind-9.2.3-1.i386.rpm

Once it's finished downloading, you can install it (as root):
rpm -Uvh bind-9.2.3-1.i386.rpm

Then you can edit named.conf to configure Bind.

See here for more information:
http://www.linuxhelp.net/guides/bind/
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Nov 8th, 2006
0

Re: How To Install Dns in Linux ?

Hello,

Installing Bind is not complex. First of all, you'll want to download an RPM for Bind:

http://penguinman.com/rh9/bind-9.2.3-1.i386.rpm

Once it's finished downloading, you can install it (as root):
rpm -Uvh bind-9.2.3-1.i386.rpm

Then you can edit named.conf to configure Bind.

See here for more information:
http://www.linuxhelp.net/guides/bind/
what is RPM -Uvh bind -9.2.3-1.i386.rpm ?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
saqib389 is offline Offline
4 posts
since Oct 2006
Nov 8th, 2006
0

Re: How To Install Dns in Linux ?

Click to Expand / Collapse  Quote originally posted by saqib389 ...
what is RPM -Uvh bind -9.2.3-1.i386.rpm ?
It's a command you enter at the command prompt to install the rpm file that you've downloaded.

Additionally, you'll need to provide the complete path to the RPM and gain root access, so the final command that you enter might be like:
cd /home/you/Desktop
su
[enter your password here, although it won't show up onscreen]
rpm -Uvh bind-9.2.3-1.i386.rpm
Replace /home/you/Desktop with the path to the rpm (where your web browser saved it).
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Nov 15th, 2006
0

Re: How To Install Dns in Linux ?

can someone explain the whole conecpt of domains?
Moderator
Featured Poster
Reputation Points: 1784
Solved Threads: 575
Moderator
jbennet is offline Offline
16,520 posts
since Apr 2005
Nov 18th, 2006
0

Re: How To Install Dns in Linux ?

On a local area network, when a computer wants to view something other than an IP address, it first looks in its internal DNS routing table. On Linux, this is usually in /etc/resolv.conf. If it can't find it in there, it asks the local DNS server (whose IP address is in its config) for the IP address of this name that it's trying to find. The DNS server than returns the IP address (if it can be found) to the computer.

When you enter a domain into your address bar, the first thing that happens when you press return is your browser sends a lookup domain request to your DNS server.

DNS servers are servers that contain tables of domains and their IP address that they point to, and these DNS servers are all around the world. They all contain the same data, so it doesn't matter which one you use. Usually, your ISP has a DNS server, so that is usually the one your browser uses to lookup domains, as it's the closest.

When the DNS server recieves the request, it looks up in its domain table, finds the IP address, and sends this back to your computer. Now that your browser has this information, it can then communicate directly with the web server to get the website.
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Nov 19th, 2006
0

Re: How To Install Dns in Linux ?

so if i wanted to point say, www.ben.net to my fixed IP adress, what would i need to do?

also, is thier any benefit of having domains on a linux LAN as opposed to just hostnames
Moderator
Featured Poster
Reputation Points: 1784
Solved Threads: 575
Moderator
jbennet is offline Offline
16,520 posts
since Apr 2005
Nov 19th, 2006
0

Re: How To Install Dns in Linux ?

Click to Expand / Collapse  Quote originally posted by jbennet ...
so if i wanted to point say, www.ben.net to my fixed IP adress, what would i need to do?
On your local DNS server, you would need to edit the /etc/named/named.your.domain and /etc/named.conf and add an entry pointing www.ben.net to your fixed IP address. If you don't know how to do this, try looking here:
http://www.xenocafe.com/tutorials/dn...dhat-part2.php

Quote ...
also, is thier any benefit of having domains on a linux LAN as opposed to just hostnames
Domains are useful as you can use an entire domain to represent your LAN, and each individual computer can use a subdomain. Or, if you have a larger computer, you can use subdomains for subnetworks inside your LAN. Simply having hostnames works, but it's not as easy to see which network and computer it points to.
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Networking Forum Timeline: Recommendation for Network Inventory tool
Next Thread in Networking Forum Timeline: PIX 501 and ssh





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC