LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-16-2003, 07:30 AM   #1
doughammond
LQ Newbie
 
Registered: Oct 2003
Posts: 13

Rep: Reputation: 0
Please help me understand DNS


OK.. I'm totally a newbie at trying to set internet stuff up so any simple explanations of how i might achieve my goals would be much appreciated.

I have managed to configure and run apache... great. works like a charm
( http://82.43.58.80/ )

I have also registered for a domain name through a company, and made it point to my server
( http://www.hamsterfight.co.uk/ ) - paid for this one (tho not much)

Now, the bit I fail to understand:

Can I set up bind / named on my web server box (rh 9) so that I can get my own internet-wide domain names to point to my server, without having to go through any other registration which may or may not cost me anything.

ie, can I set it up so that the domain name resolution occurs on my machine ?

I've worked through a few tutorials on the subject (ldp DNS HOWTO), and it seems that a domain I set up works locally, but not globaly over the internet (even with the 'notify off' directive removed from named.conf). Is registration with another provider absolutely necessary for this to work ? I have read that having both primary+secondary zomes is only for good practice and not necessary for the system to work. have I totally mis-understood this whole thing ?

BTW, I'm connected to the internet via a cable modem, and it appears that my ISP already has DNS set up for my IP no. to point to a 'cable' type name (do a 'dig -x 82.43.58.80' ).. like 82-43-58-80.serv1.croy.blueyonder.co.uk --- is this going to prevent me from achieving what I want ?? would any other setup work regardless of this ?

(please no comments about bandwidth usage/restrictions over a cable connection... i HAVE read my ISP's AUP thanks !! just help me to understand what it is i'm trying to do !)

Please help me..


Thanks,


Doug.
 
Old 10-16-2003, 08:56 AM   #2
dragonlinux
LQ Newbie
 
Registered: Oct 2003
Distribution: Linux 9.0
Posts: 14

Rep: Reputation: 0
dns help

i dont know if I can completely answer what you want but what I can say is this. Usually when you want to have you domain name available public it has to be available on a "root" DNS server, which when you paid your money to the ISP to register your domain name, this should have happened. DNS works basically like this, you computer see a request for blah.com but it doesnt understand blah.com as an address. So it must send a request to a DNS server to get the IP address of the website/domain blah.com. Most of the time small bussiness do not provide a global DNS server in their office. They reley on their ISP to do this. So, when someone wants to get to your server named blah.com. The send a request out to their DNS server and if that persons DNS server does not have the IP address for blah.com...it then in turn requests the info from another DNS server and so on untill it is found. The ISP that you have your domain registered to job is to make sure that the world can get to your IP address via your domain name. If you can reach your domain locally that is great, mean your DNS server is set up for you LAN correctly. However if ping www.blah.com on a computer that is connected to the internet (preferably outside of your local network for testing purposes) and you dont see pinging x.x.x.x ip address (www.blah.com)(this IP address should be your servers IP address) , your ISP is not mapping your domain name to your IP address correctly. If how ever you see your correct IP address for your server, maybe you do not have the correct port open on router/server/firewall to respond to the request.

hope this helps
 
Old 10-16-2003, 09:16 AM   #3
doughammond
LQ Newbie
 
Registered: Oct 2003
Posts: 13

Original Poster
Rep: Reputation: 0
ok.. so it looks like one has to register with other authorities...

which is not surprising really... you don't get out for nout nowadays.
Looks like my efforts with named / bind are doomed.

BTW.. i'm not running on a LAN.. just a single pc on a cable modem.. but i don't see how that makes any difference (it probably doesn't even make any sense )

Thanks....

D.
 
Old 10-16-2003, 09:59 AM   #4
dragonlinux
LQ Newbie
 
Registered: Oct 2003
Distribution: Linux 9.0
Posts: 14

Rep: Reputation: 0
another alternative

there are such services such as dynamic DNS. It is a free service for registering a domain name, however you have to endup with some extention to your domain name such as blah.dyndns.org. Check out dyndns.org for more details.
 
Old 10-16-2003, 10:35 AM   #5
doughammond
LQ Newbie
 
Registered: Oct 2003
Posts: 13

Original Poster
Rep: Reputation: 0
yeah i got a few like that already


D.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DNS -- PTR -- help understand Fredstar Linux - Newbie 8 09-28-2005 08:37 AM
DNS, I do not understand this ..... tarheel92x Linux - Networking 1 01-22-2004 10:56 PM
Trying to figure out/understand this BIND/DNS thing MasterC Linux - Networking 11 09-21-2003 03:43 PM
i don't understand... humanveal Linux - Software 17 05-20-2003 04:24 AM
Trying to understand DNS and Virtual Hosting dsiguy Linux - Newbie 2 11-26-2002 01:40 PM

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

All times are GMT -5. The time now is 02:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration