Re: TXT Record Format with multiple records?

2013-10-12 Thread Mark Andrews

In message 
, Jeffrey Walton writes:
> > plugh.example TXT "foo" "bar"
> >
> Thanks John.
> 
> So I'm clear: (1) there is only one TXT record per host;

No.

> (2) multiple TXT records are not allowed;

No.

and (3) the individual character strings are delimited with the quote
character.

Yes and no.
 
> Related: is there an escape character so a quote can be present in the
> character-string?

Yes,  back slash.
 
> Related: is the single quote also accetped? What happens if the string
> is "Knuth said, 'random numbers should not be generated with a method
> chosen at random.'"
> 
> Finally, is there a standard document that calls the convention out?

Yes.  RFC 1035 Section 5.1. Format.

 is expressed in one or two ways: as a contiguous set
of characters without interior spaces, or as a string beginning with a "
and ending with a ".  Inside a " delimited string any character can
occur, except for a " itself, which must be quoted using \ (back slash).

Which is combined with the following to allow any 8 bit character
and to allow back slash to exist in a character-string.  Note the
escape conventions are not the same a in C.

\X  where X is any character other than a digit (0-9), is
used to quote that character so that its special meaning
does not apply.  For example, "\." can be used to place
a dot character in a label.

\DDDwhere each D is a digit is the octet corresponding to
the decimal number described by DDD.  The resulting
octet is assumed to be text and is not checked for
special meaning.

Mark
 
> Please forgive my ignorance, and sorry about all the details. I have
> not been able to find a detailed specification.
> 
> Jeff
> 
> 
> On Sat, Oct 12, 2013 at 12:52 AM, John Levine  wrote:
> >>How, precisely, is the second (or third) string added?
> >
> > plugh.example TXT "foo" "bar"
> >
> ___
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
>  from this list
> 
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: TXT Record Format with multiple records?

2013-10-12 Thread John Levine
>Please forgive my ignorance, and sorry about all the details. I have
>not been able to find a detailed specification.

TXT records haven't changed since RFC 1034 and 1035.

You can have multiple strings per record, and multiple records per
name.  At the application level, some applications glom multiple
strings per record together, some treat them separately.  There are a
few obscure designs that combine multiple TXT records at the same
name, but you're unlikely to run into any of them.



___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: moving DNSSEC to a hidden master

2013-10-12 Thread Alan Clegg

On Oct 11, 2013, at 10:54 PM, David Newman  wrote:

> 4. "Check that the new server is working and you can update
> the zone by using nsupdate."
> 
> This is where things fall apart. I run 'rndc freeze' and increment the
> zone file's serial number (or make any other change), and then run 'rndc
> thaw' and 'rndc reload'.
> 
> There's no change in serial number, and there's no error reported in the
> logs.
> 
> What am I missing?

What log messages are you getting from named?  What is the "zone" entry in your 
named.conf that relates to the zone in question?

I would strongly recommend forgetting all about "freeze the zone and edit" as a 
method of updating... move completely to dynamic zones if at all possible.

AlanC
-- 
Alan Clegg | +1-919-355-8851 | a...@clegg.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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