DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old January 15th, 2004, 10:28 AM
Messner's Avatar
Messner Messner is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Slovenia
Posts: 29 Messner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 m 10 sec
Reputation Power: 0
Send a message via ICQ to Messner
DNS newbie on the run

Hello

I want to have web server that serves pages in the internet ... with static IP this works fine ...

Web server(fedora core 1) is hidden behind firewall, so I have allowed port 80 on my firewall (port forwarding) ...

Now I wanted to use www.something.si ... I have tried to register a domain, but they told me, that I must also setup a DNS server ... or ask someone to do it for me ... I want to do it on my own ...

How is this done ? Basic concepts ?

I keep reading this bind howto's and I don't get it ...

Which port should I let in on my firewall for DNS to be visible on the net ?

I figured out that the configuration should be done with "bind configuration tool" ....

What should I set there ?

Should Forward Master Zone be : forward.something.si ??

Help please ...

Reply With Quote
  #2  
Old January 15th, 2004, 06:00 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
DNS uses TCP and UDP port 53.

Don't think in terms of forward zones. They're just zones. A zone is a domain and all of its subdomains. So things will work like this:

query for www.something.si hits your server
BIND will check its named.conf to see where www.something.si is stored at.
BIND will find your "something.si" zone and BIND will know that is where it should look.
In your "something.si" master zone file BIND will find the IP address for www.something.si.

And there you have the basics of domain resolution.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #3  
Old January 16th, 2004, 10:08 AM
mmoxley mmoxley is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 26 mmoxley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'm in the same boat as you are.

For 4 weeks now, I assumed that my web issues was httpd related, but I am fast learning that it is a DNS issue......

Firstly, from what I have learned, there are two options:

Opperate your own DNS (allowing www.example.com to point to your server) or get another company to do it for you.

Here are the obsticles I have run into.... Most companies either charge money, or have bad service. This does not mean I have looked at them all, in fact I have found very little. I am giving zoneDNS a try, maybe it'll work out for me....

Anyway, you could opperate your own also. My problem with this is that I do not know how to 'name' my server to opperate in this manner. Setting up the infomation for the zones is easy enough to do using webmin and virtualmin, ro the DNS BIND program that came with Fidora. Agian, I am unsure of how to list my server in the DNS name reg block from the people that I bought my domain name from .

Help anyone?

Reply With Quote
  #4  
Old January 16th, 2004, 11:09 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
You need to find where you can create your name server domains. This process is also called "registering name servers". So like if you registered example.com you would register your name servers as something like this:

ns1.example.com 127.0.0.1
ns2.example.com 127.0.0.2

And in my opinion there are very good free domain hosts out there.

Last edited by SilentRage : January 22nd, 2004 at 05:50 PM.

Reply With Quote
  #5  
Old January 22nd, 2004, 10:35 AM
Messner's Avatar
Messner Messner is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Slovenia
Posts: 29 Messner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 m 10 sec
Reputation Power: 0
Send a message via ICQ to Messner
help ?

What is wrong with this zone file ?
Quote:
$TTL 86400
sb-ms.si. IN SOA localhost root (
8 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; ttl
)
first IN NS 193
admin IN A 193.77.148.24
admin.sb-ms.si. IN CNAME www
mail.sb-ms.si 1 IN MX 1 admin.sb-ms.si.

Reply With Quote
  #6  
Old January 22nd, 2004, 12:21 PM
Messner's Avatar
Messner Messner is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Slovenia
Posts: 29 Messner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 m 10 sec
Reputation Power: 0
Send a message via ICQ to Messner
more explanation

I have a web and mail server in Demilitarized zone and I have created this zone file with redhat-config-bind on Fedora-Core-1 ...

I just want to this server to be seen from outside ...

but dig gives this answer :
Code:
$ dig @193.77.148.24 sb-ms.si
 
; <<>> DiG 9.2.2-P3 <<>> @193.77.148.24 sb-ms.si
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 5503
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
 
;; QUESTION SECTION:
;sb-ms.si.                      IN      A
 
;; Query time: 218 msec
;; SERVER: 193.77.148.24#53(193.77.148.24)
;; WHEN: Thu Jan 22 19:19:55 2004
;; MSG SIZE  rcvd: 26


Help plizzz ...

Reply With Quote
  #7  
Old January 22nd, 2004, 05:56 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
Corrected Zone file. Read it over carefully, make sure you understand what it means. If you don't understand then ask or otherwise find out.

Code:
$TTL 86400
sb-ms.si. IN SOA ns1.needhost.com. root.sb-ms.si. (
8 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; ttl
) 
sb-ms.si. IN NS ns1.needhost.com.
sb-ms.si. IN NS ns1.needhost.com.
sb-ms.si. IN MX 1 admin.sb-ms.si.
sb-ms.si. IN A 195.246.8.87
www.sb-ms.si. IN A 195.246.8.87
admin.sb-ms.si. IN A 193.77.148.24

Reply With Quote
  #8  
Old January 22nd, 2004, 06:05 PM
mmoxley mmoxley is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 26 mmoxley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Congrats

Looks like you got it up and running! A touch on the slow side, but up and running none the less.

Reply With Quote
  #9  
Old January 23rd, 2004, 03:51 PM
Messner's Avatar
Messner Messner is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Slovenia
Posts: 29 Messner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 m 10 sec
Reputation Power: 0
Send a message via ICQ to Messner
Talking I did it

Thank you guys for all the help ...

I did't gave U enough data ... I alllready have existing DNS'ses(ns1.needhost.com.) with the company that hosts my web now ... I am very unsatisfied with their service ( and I give them money for that) ....

I am trying to set up my own server (not the existing one on 195.246.8.87) and my own DNS ...

I think I did'it, with your help .... I changed the file you proposed a bit ... and I set up a secondary DNS on everydns

My final zone file:
Code:
$TTL 86400
sb-ms.si.       IN      SOA     ns1 webmojster  (
                                9 ; serial
                                28800 ; refresh
                                14400 ; retry
                                3600000 ; expire
                                86400 ; ttl
                                )
                                                                                
                                                                                
sb-ms.si.       IN       NS     ns1.sb-ms.si.
sb-ms.si.       IN       NS     ns3.everydns.net.
sb-ms.si.       IN       NS     ns1.everydns.net.
sb-ms.si.       IN       MX 1   mail.sb-ms.si.
sb-ms.si.       IN       A      193.77.148.24
ns1.sb-ms.si.   IN       A      193.77.148.24
www.sb-ms.si.   IN       A      193.77.148.24
mail.sb-ms.si.  IN       A      193.77.148.24

and dig @193.77.148.24 sb-ms.si works marvelous ... (at least I think so) ...

Now before I sumit the changes (set my new DNS as primary in the .si domain) I want you to look at my DNS'ses ...

.... is everything OK ? Would you change anything ?

Do I need a reversed zone ?

Reply With Quote
  #10  
Old February 2nd, 2004, 04:07 PM
Messner's Avatar
Messner Messner is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Slovenia
Posts: 29 Messner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 m 10 sec
Reputation Power: 0
Send a message via ICQ to Messner
Thx guys

I did it ...

I have switched my page to my own new server ... And DNS works as it should ...

Thank you guys once more

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > DNS newbie on the run


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway