head	1.1;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.1
	OPENPKG_E1_MP:1.1
	OPENPKG_E1_MP_2_STABLE:1.1
	OPENPKG_E1_FP:1.1
	OPENPKG_2_STABLE_MP:1.1
	OPENPKG_2_STABLE_20061018:1.1
	OPENPKG_2_STABLE_20060622:1.1
	OPENPKG_2_STABLE:1.1.0.6
	OPENPKG_2_STABLE_BP:1.1
	OPENPKG_2_5_RELEASE:1.1
	OPENPKG_2_5_SOLID:1.1.0.4
	OPENPKG_2_5_SOLID_BP:1.1
	OPENPKG_2_4_RELEASE:1.1
	OPENPKG_2_4_SOLID:1.1.0.2
	OPENPKG_2_4_SOLID_BP:1.1;
locks; strict;
comment	@# @;


1.1
date	2005.03.31.14.37.37;	author rse;	state Exp;
branches;
next	;


desc
@@


1.1
log
@new package: swhoisd 3.0.5 (Simple WHOIS Daemon)
@
text
@##
##  swhoisd.conf -- Simple WHOIS Daemon Configuration
##

##
##  ==== RECORD DEFINITIONS ====
##
##  This server supports 4 records:
##  - hr Host Record:     Information on a host (usually a name server)
##  - dr Domain Record:   Information on a domain name
##  - pr Person Record:   Information on a person (usually a contact)
##  - nr Network Record:  Information on a network (usually a BGP AS)
##  Each record has one or more fields. If the field name is preceeded
##  with a "!" it means the field is searchable with this WHOIS daemon.
##  (See also: WHOIS RFC 1834)
##

#   Host Record
<handle> hr {
    !name   <name>
    !fqdn   <fqdn>
    !ip     <ip>
    os      <os>
    arch    <arch>
    cname   <cname>
    mx      <mx>
    country <country>
    admin   <handle>
    tech    <handle>
    created <date>
    updated <date>
}

#   Domain Record
<handle> dr {
    !name   <name>
    !domain <domain>
    ns1     <ns1>
    ns1ip   <ns1ip>
    ns2     <ns2>
    ns2ip   <ns2ip>
    ns3     <ns2>
    ns3ip   <ns2ip>
    ns4     <ns2>
    ns4ip   <ns2ip>
    ns5     <ns2>
    ns5ip   <ns2ip>
    ns6     <ns2>
    ns6ip   <ns2ip>
    ns7     <ns2>
    ns7ip   <ns2ip>
    ns8     <ns2>
    ns8ip   <ns2ip>
    ns9     <ns2>
    ns9ip   <ns2ip>
    country <country>
    contact <handle>
    admin   <handle>
    tech    <handle>
    created <date>
    updated <date>
}

#   Person Record
<handle> pr {
    !name   <name>
    !org    <organization>
    email   <email>
    address <address>
    country <country>
    phone   <phone>
    fax     <fax>
    created <date>
    updated <date>
}

#   Network Record
<handle> nr {
    !name   <name>
    !net    <net>
    admin   <handle>
    tech    <handle>
    as      <as>
    created <date>
    updated <date>
}

##
##  ==== RECORD DATA ====
##

EXAMPLE-DOM dr {
    !name   Example, Inc.
    !domain example.com
    ns1     ns1.example.com
    ns1ip   192.168.0.1
    ns2     ns2.example.com
    ns2ip   192.168.0.2
    country XY
    admin   JD1-EXAMPLE
    tech    JD1-EXAMPLE
    created Sat Jun 23 01:57:22 PDT 2001
    updated Sat Jun 23 01:57:22 PDT 2001
}

EXAMPLE1-HOST hr {
    !fqdn   ns1.example.com
    !ip     192.168.0.1
    country XY
    admin   JD1-EXAMPLE
    created Sat Jun 23 01:57:22 PDT 2001
    updated Sat Jun 23 01:57:22 PDT 2001
}

EXAMPLE2-HOST hr {
    !fqdn   ns2.example.com
    !ip     192.168.0.2
    country XY
    admin   JD1-EXAMPLE
    created Sat Jun 23 01:57:22 PDT 2001
    updated Sat Jun 23 01:57:22 PDT 2001
}

JD1-EXAMPLE pr {
    !name   John Doe
    email   john.doe@@example.com
    address 666 Example Ave., Example City
    country XY
    phone   555-555-1234
    fax     555-555-5678
    created Sat Jun 23 01:57:22 PDT 2001
    updated Sat Jun 23 01:57:22 PDT 2001
}

@
