SRV and Red Hat Bind 9.2.1
phn at icke-reklam.ipsec.nu
phn at icke-reklam.ipsec.nu
Sun Dec 1 13:36:05 UTC 2002
Poffio <poffius at poffius.com> wrote:
> Hello,
> My Public Dns server has Red Hat Linux with Bind 9.2.1; i must create a zone
> for a service with SRV record.
> Questions:
> 1) Bind 9.2.1 support this type of records (SRV) ?
Yes. Bind has been supporting SRV since bind-4
> 2) If it is possible can you help me for the syntax to use in the zone file
> for SRV records ?
See rfc2782 for "howto".
Quoting from rfc2782 :
"The format of the SRV RR
Here is the format of the SRV RR, whose DNS type code is 33:
_Service._Proto.Name TTL Class SRV Priority Weight Port Target"
And also an example :
$ORIGIN example.com.
@ SOA server.example.com. root.example.com. (
1995032001 3600 3600 604800 86400 )
NS server.example.com.
NS ns1.ip-provider.net.
NS ns2.ip-provider.net.
; foobar - use old-slow-box or new-fast-box if either is
; available, make three quarters of the logins go to
; new-fast-box.
_foobar._tcp SRV 0 1 9 old-slow-box.example.com.
SRV 0 3 9 new-fast-box.example.com.
; if neither old-slow-box or new-fast-box is up, switch to
; using the sysdmin's box and the server
SRV 1 0 9 sysadmins-box.example.com.
SRV 1 0 9 server.example.com.
server A 172.30.79.10
old-slow-box A 172.30.79.11
sysadmins-box A 172.30.79.12
new-fast-box A 172.30.79.13
; NO other services are supported
*._tcp SRV 0 0 0 .
*._udp SRV 0 0 0 .
> Many Thanks.
--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.
More information about the bind-users
mailing list