# # /etc/swhoisd.conf.sample # Sample file for Simple Whois Daemon # Copy to /etc/swhoisd.conf and modify for your own use. # # See whois RFC 1834, ftp://ftp.isi.edu/in-notes/rfc1834.txt # # This server supports 3 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) # # 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. # Host Record hr { !name !fqdn !ip os arch cname mx country admin tech created updated } # Domain Record dr { !name !domain ns1 ns1ip ns2 ns2ip ns3 ns3ip ns4 ns4ip ns5 ns5ip ns6 ns6ip ns7 ns7ip ns8 ns8ip ns9 ns9ip country contact admin tech created updated } # Person Record pr { !name !org email address
country phone fax created updated } # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # DOMAIN RECORDS (dr) # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # FOOBAR1-DOM dr { !name Foobar, Incorporated !domain foobar.com ns1 ns1.foobar.com ns1ip 192.168.160.112 ns2 ns2.pmbc.com ns2ip 10.207.160.2 country US admin JD1-FOOBAR tech JD1-FOOBAR created Sat Jun 23 01:57:22 PDT 2001 updated Sat Jun 23 01:57:22 PDT 2001 } # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # HOST RECORDS (hr) # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # FOOBAR1-HOST hr { !fqdn ns1.pmbc.com ip 192.168.160.112 admin JD1-FOOBAR created Sat Jun 23 01:57:22 PDT 2001 updated Sat Jun 23 01:57:22 PDT 2001 } FOOBAR2-HOST hr { !fqdn ns2.pmbc.com ip 10.207.160.2 country US admin JD1-FOOBAR created Sat Jun 23 01:57:22 PDT 2001 updated Sun Jun 24 15:28:42 PDT 2001 } # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # PERSON RECORDS (pr) # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # JD1-FOOBAR pr { !name John Doe email johnd@foobar.com address 6083 Foobar Ave., San Diego, CA 92121 country US phone 858-853-1212 fax 858-555-1977 created Sat Jun 23 01:57:22 PDT 2001 updated Sat Jun 23 01:57:22 PDT 2001 } # End of file.