SunQuest
           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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old February 25th, 2004, 10:52 AM
flex411 flex411 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 2 flex411 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Entries

I have 1 domain one 1 static ip address. I want to have web and mail on this machine. I am reading dns and bind by oreilly 4th. I have a few questions as i feel there simple examples are a little too complex for my setup. Just wanted to run a few ideas by you all.

My current setup:

domain.com file:

$TTL 3600
@ IN SOA example.org. me.example.org. (
20040224 ; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
localhost IN A 127.0.0.1
mail IN A 192.249.249.1
www IN A 192.249.249.1
@ IN MX 0 mail.example.org.

reverse domain.com file:

$TTL 3600
@ IN SOA ns.example.org. me.example.org. (
20040224; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
1 IN PTR ns.example.org
1 IN PTR mail.example.org

Now is this good? should I chnge the

mail IN A 192.249.249.1
www IN A 192.249.249.1

to

@ IN A 192.249.249.1
mail IN CNAME @
www IN CNAME @

And regarding the reverse file do I need 2 Pointers? if not what should the pointer say?

My only reason to question my setup is that in oreillys book they always talked about 2 different ip addresses and I feel some stuff might be redundant, but who knows?

Any help would be great.

Reply With Quote
  #2  
Old February 25th, 2004, 05:24 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
I didn't feel like looking too closely at your examples. There's so many little and possibly unimportant things wrong with people's first attempts it is depressing. So rather, if you want me to analyze your setup I would rather look at something more rounded like a real domain that has been registered and updated.

In the meantime feel free to look at my example config. Perhaps it is more simple - I don't know. Never read the book myself.

http://www.dollardns.org/BIND/
__________________
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 February 26th, 2004, 07:31 AM
flex411 flex411 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 2 flex411 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ok thats great thanks. But my original question remains. Whenever you see an example you always see different ip addresses. For example ns1 and ns2 are different ip's. My question is, Should I dod it just like all the examples including your and just put the same ip address in over and over or will cnames work or will somthing else work?
remember i have only 1 ip address.

Reply With Quote
  #4  
Old February 26th, 2004, 08:27 AM
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
no don't use CNAME's. CNAME's should only be used in special circumstances. Just use the same IP over and over in 'A' records for each subdomain.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Entries


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 4 hosted by Hostway