git: 9front

Download patch

ref: c8623ba137883f265542cb926c81d377181e70f8
parent: 26d02b0a3c40a35393d73309430c6c48b2ede2be
author: ftrvxmtrx <ftrvxmtrx@gmail.com>
date: Sun Feb 5 17:03:51 EST 2006

ndb(2): add information about ipv6, srv and txt query types

--- a/sys/man/2/ndb
+++ b/sys/man/2/ndb
@@ -340,13 +340,20 @@
 domain name
 .RI ( dom )
 and ip address
-.RI ( ip )
+.RI ( ip ).
 .TP
+.B ipv6
+find the IPv6 addresses.  Returns
+domain name
+.RI ( dom )
+and ipv6 address
+.RI ( ipv6 ).
+.TP
 .B mx
 look up the mail exchangers.  Returns preference
 .RI ( pref )
 and exchanger
-.RI ( mx )
+.RI ( mx ).
 .TP
 .B ptr
 do a reverse query.  Here
@@ -356,13 +363,13 @@
 IP address.  Returns reverse name
 .RI ( ptr )
 and domain name
-.RI ( dom )
+.RI ( dom ).
 .TP
 .B cname
 get the system that this name is a nickname for.  Returns the nickname
 .RI ( dom )
 and the real name
-.RI ( cname )
+.RI ( cname ).
 .TP
 .B soa
 return the start of area record for this field.  Returns
@@ -381,11 +388,26 @@
 and minimum time to lie
 .RI ( ttl ).
 .TP
+.B srv
+get the service records.  Returns the priority of target host
+.RI ( priority ),
+relative weight
+.RI ( weight )
+for entries with the same priority,
+port on this target host of this service
+.RI ( port ),
+and the domain name of the target host
+.RI ( target ).
+.TP
+.B txt
+get the descriptive text. The semantics of the text depends
+on the domain.
+.TP
 .B ns
 name servers.  Returns domain name
 .RI ( dom )
 and name server
-.RI ( ns )
+.RI ( ns ).
 .PP
 .I Ndbfindattr
 searches
--