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:
  #1  
Old October 29th, 2008, 03:54 AM
wojtyna wojtyna is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2008
Posts: 2 wojtyna User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 54 m 59 sec
Reputation Power: 0
Beginner talk

Hi guys,

I'm new in this forum, therefore hi to everyone!

Usually I'm trying to find a solution by myself and a forum is my last resort of getting help. This time I'm challenged with setting up a dns server and I really cannot go any farther. Let's describe my problem.

I just ordered a new root server and registered some domains, which were included in the package. What I'm trying to achieve is to have ftp.mydomain.com to serve as FTP connection address, svn.mydomain.com for SVN etc.

When I ping mydomain.com I get a response. I also get a response when I ping whatevs.mydomain.com. Therefore I assume a nameserver is already configured properly. Rigth now I want to configure bind9 to handle all internal addresses properly. Where should I start?

Any help will be appreciated. Thanks in advance!

Reply With Quote
  #2  
Old October 29th, 2008, 08:51 AM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Click here for more information. Click here for more information
 
Join Date: Jan 2005
Location: Florida
Posts: 3,844 hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 2 Months 2 Days 20 h 32 m 20 sec
Reputation Power: 2694
Quote:
Originally Posted by wojtyna
Rigth now I want to configure bind9 to handle all internal addresses properly. Where should I start?


Welcome to Dev Shed.

Handle all internal addresses how? Are you having problems with those on your local network resolving your domains?

Please clarify what you're wanting.

Reply With Quote
  #3  
Old October 29th, 2008, 09:21 AM
wojtyna wojtyna is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2008
Posts: 2 wojtyna User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 54 m 59 sec
Reputation Power: 0
Hi Hiker,

I'm a little bit farther now. I want to use my new server as a primary name server and my provider's name server as a secondary.

Let's assume my server's ip is 1.2.3.4, my providers nameserver name is ns.provider.com .

In my /etc/bind/named.conf.local I created a new zone for my domain:
Code:
zone "mydomain.com" {
     type master;
     file "/etc/bind/db.mydomain.com";
};


In my /etc/bind/db.mydomain.com file I put:
Code:
mydomain.com.    IN    SOA ns.mydomain.com. email. (
2002121601
3H
15M
1W
1D
)

1.2.3.4           IN PTR mydomain.com.
ftp.mydomain.com. IN CNAME mydomain.com.
mydomain.com.     IN NS ns.provider.com.
mydomain.com.     IN NS ns.mydomain.com.
mydomain.com.     IN A 1.2.3.4
ns.mydomain.com. IN A 1.2.3.4
www.mydomain.com. IN CNAME mydomain.com.


In /etc/bind/named.conf.options I have:
Code:
options {
     directory "/var/cahce/bind";
     notify yes;
     listen-on port 53 { 1.2.3.4; };
     allow-query { any; };
     auth-nxdomain no;
     listen-on-v6 { none; };
};


So far so good. named-checkconf does not return any errors, named-checkzone either. "dig @ns.mydomain.com mydomain.com any" returns status NOERROR as well. When I go to the http://zonecheck.denic.de/ though ns.mydomain.com timeouts.

I think my problem is clearer now. Any help would be appreciated.

Reply With Quote
  #4  
Old October 29th, 2008, 11:43 AM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Click here for more information. Click here for more information
 
Join Date: Jan 2005
Location: Florida
Posts: 3,844 hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)hiker User rank is General 26th Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 2 Months 2 Days 20 h 32 m 20 sec
Reputation Power: 2694
Have you listed the nameserver and DNS hosts at the registrar yet?

Reply With Quote
  #5  
Old November 7th, 2008, 11:28 AM
albunix albunix is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2008
Location: http://dedicatedhosting.navisite.com/
Posts: 18 albunix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 35 m 8 sec
Reputation Power: 0
I know i'm not providing a solution, but again it might help you to skim over this www_dot_zytrax_dot_com/books/dns/

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Beginner talk


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



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

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





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT