mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-26 11:32:01 -05:00
Squashed commit of the following:
commit 7ad3daade513c94a1c92ee7c91c112f161d13ef4
Author: Mark Andrews <marka@isc.org>
Date: Mon Dec 3 15:03:44 2012 +1100
look at the second token to determine if a TXT record in of unknown format or not
commit 7df32138462646f6aee84ffa56d02ac24ec8d672
Author: Mark Andrews <marka@isc.org>
Date: Mon Dec 3 12:42:18 2012 +1100
'"\#"' was incorrectly being treated as a unknown data escape sequence.
62 lines
1.9 KiB
Text
62 lines
1.9 KiB
Text
; Copyright (C) 2004, 2007, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
|
|
; Copyright (C) 2000, 2001 Internet Software Consortium.
|
|
;
|
|
; Permission to use, copy, modify, and/or distribute this software for any
|
|
; purpose with or without fee is hereby granted, provided that the above
|
|
; copyright notice and this permission notice appear in all copies.
|
|
;
|
|
; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
; PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
; $Id: example-in.db,v 1.9 2011/11/02 23:46:24 tbox Exp $
|
|
|
|
$TTL 300 ; 5 minutes
|
|
@ SOA mname1. . (
|
|
2000062101 ; serial
|
|
20 ; refresh (20 seconds)
|
|
20 ; retry (20 seconds)
|
|
1814400 ; expire (3 weeks)
|
|
3600 ; minimum (1 hour)
|
|
)
|
|
NS ns
|
|
ns A 10.53.0.1
|
|
|
|
a1 A \# 4 0A000001
|
|
a2 A \# 4 0A 00 00 01
|
|
a3 CLASS1 A 10.0.0.1
|
|
a4 CLASS1 A \# 4 0A000001
|
|
a5 TYPE1 10.0.0.1
|
|
a6 TYPE1 \# 4 0A000001
|
|
a7 CLASS1 TYPE1 10.0.0.1
|
|
a8 CLASS1 TYPE1 \# 4 0A000001
|
|
a9 IN TYPE1 10.0.0.1
|
|
a10 IN TYPE1 \# 4 0A000001
|
|
a11 IN TYPE1 \# 4 0a000001
|
|
a12 IN A \# 4 0A000001
|
|
|
|
null IN NULL \# 1 00
|
|
empty IN NULL \# 0
|
|
empty IN TYPE124 \# 0
|
|
|
|
emptyplus IN TYPE125 \# 0
|
|
emptyplus IN TYPE125 \# 1 11
|
|
|
|
txt1 IN TXT "hello"
|
|
txt2 CLASS1 TXT "hello"
|
|
txt3 IN TYPE16 "hello"
|
|
txt4 CLASS1 TYPE16 "hello"
|
|
txt5 TXT \# 6 0568656C6C6F
|
|
txt6 TYPE16 \# 6 0568656C6C6F
|
|
txt7 IN TXT \# 6 0568656C6C6F
|
|
txt8 IN TXT "\#" 2 0145
|
|
txt9 IN TXT \# text
|
|
|
|
unk1 TYPE123 \# 1 00
|
|
unk2 CLASS1 TYPE123 \# 1 00
|
|
unk3 IN TYPE123 \# 1 00
|
|
$INCLUDE large.db
|