|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
||||
|
||||
|
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.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > Entries |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|