Re: zone syntax question

2010-07-24 Thread Joseph S D Yao
On Tue, Jul 20, 2010 at 10:07:54AM +0100, Sam Wilson wrote:
...
 I *would* recommend using @ everywhere possible - it's so much less 
 liable to typos than using the real domain and unnecessary obfuscation 
 is not your friend when it comes to DNS administration. :) :)
...


Seconded.

I would also recommend using human-readable times, even though they're
converted to numbers internally [which is of course what 'dig' reads].
Similarly, less likely to errors.  Quick, knee-jerk, which of these is
one day?
86300
68300
863000

What I would recommend is getrting rid of those ugly $ORIGINs and
sticking to the original @.


--
/*\
**
** Joe Yao  j...@tux.org - Joseph S. D. Yao
**
\*/
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: zone syntax question

2010-07-24 Thread Matthew Seaman
On 24/07/2010 16:17:13, Joseph S D Yao wrote:
 Quick, knee-jerk, which of these is
 one day?
   86300
   68300
   863000

It's a trick question, right?

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: zone syntax question

2010-07-24 Thread Joseph S D Yao
On Sat, Jul 24, 2010 at 04:32:21PM +0100, Matthew Seaman wrote:
 On 24/07/2010 16:17:13, Joseph S D Yao wrote:
  Quick, knee-jerk, which of these is
  one day?
  86300
  68300
  863000
 
 It's a trick question, right?


Very good!  ;-)


--
/*\
**
** Joe Yao  j...@tux.org - Joseph S. D. Yao
**
\*/
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: zone syntax question

2010-07-20 Thread Sam Wilson
In article mailman.2120.1279397548.21153.bind-us...@lists.isc.org,
 Doug Barton do...@dougbarton.us wrote:

 On Wed, 14 Jul 2010, Lyle Giese wrote:
 
  I would replace example.com in the SOA with @
 
 I generally recommend against doing this unless you are explicitly 
 planning to use the same zone file with multiple zones. There is no 
 advantage to using @ in a one-zone file, and unnecessary obfuscation is 
 not your friend when it comes to DNS administration. :)

I *would* recommend using @ everywhere possible - it's so much less 
liable to typos than using the real domain and unnecessary obfuscation 
is not your friend when it comes to DNS administration. :) :)

Sam
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: zone syntax question

2010-07-17 Thread Doug Barton

On Wed, 14 Jul 2010, Lyle Giese wrote:


I would replace example.com in the SOA with @


I generally recommend against doing this unless you are explicitly 
planning to use the same zone file with multiple zones. There is no 
advantage to using @ in a one-zone file, and unnecessary obfuscation is 
not your friend when it comes to DNS administration. :)



Doug

--

Improve the effectiveness of your Internet presence with
a domain name makeover!http://SupersetSolutions.com/

Computers are useless. They can only give you answers.
-- Pablo Picasso

___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


zone syntax question

2010-07-14 Thread CT

old zone file
---
$ORIGIN .
$TTL 3600
example.com IN SOA  ns.example.com. root.example.com (
2010071402 ; serial
10800  ; refresh (3 hours)
3600   ; retry (1 hour)
345600 ; expire (4 days)
86400  ; minimum (1 day)
)
NS  example.com.

$ORIGIN example.com.
A   192.168.1.1
MX  10 ns.example.com.
www CNAMEexample.com.
-

proposed new file
-
$TTL 3600
example.com.IN SOA  ns.example.com.root.example.com (
2010071403  ;serial
3h  ;refresh
1h  ;retry
1w  ;expire
1h  ;ncache
)
IN  NS  ns.example.com.
IN  MX 10   ns.example.com.

;localhost   IN  A   127.0.0.1
IN  A   192.168.1.1
www CNAMEexample.com.


My question...
Will my proposed set up work on the old bind version..
and it is syntactically correct ??

Thx
Charles
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: zone syntax question

2010-07-14 Thread Hauke Lampe

- Original message -
 example.com.               IN SOA   
[...]
                   IN           NS           ns.example.com.
                   IN           MX 10     ns.example.com.

The A record for ns.example.com is missing from your zone.

 Will my proposed set up work on the old bind version..

Which old version?

 and it is syntactically correct ??

BIND comes with a tool named-checkzone that can do the syntax and integrity 
checks for you.


Hauke.

___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users