aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/dnsquery
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-01-07 06:21:58 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-01-07 06:21:58 +0000
commitfe18bfce4b0b2f6c39ee1fc49e22a40d78da9ea8 (patch)
tree8d03f6d932b348beb66de18c0c5e18135ceb6db3 /usr.bin/dnsquery
parent7756c6b9ecb98ee5c35d9c7ce4e407a13323b9b0 (diff)
downloadsrc-fe18bfce4b0b2f6c39ee1fc49e22a40d78da9ea8.tar.gz
src-fe18bfce4b0b2f6c39ee1fc49e22a40d78da9ea8.zip
Merge bind-4.9.3-rel stuff ont main line...
Notes
Notes: svn path=/head/; revision=13303
Diffstat (limited to 'usr.bin/dnsquery')
-rw-r--r--usr.bin/dnsquery/dnsquery.c38
1 files changed, 34 insertions, 4 deletions
diff --git a/usr.bin/dnsquery/dnsquery.c b/usr.bin/dnsquery/dnsquery.c
index 295cc4eb9df2..59d1f2353661 100644
--- a/usr.bin/dnsquery/dnsquery.c
+++ b/usr.bin/dnsquery/dnsquery.c
@@ -70,10 +70,22 @@ char *argv[];
type = T_A;
else if (!strcasecmp(optarg, "NS"))
type = T_NS;
+ else if (!strcasecmp(optarg, "MD"))
+ type = T_MD;
+ else if (!strcasecmp(optarg, "MF"))
+ type = T_MF;
else if (!strcasecmp(optarg, "CNAME"))
type = T_CNAME;
else if (!strcasecmp(optarg, "SOA"))
type = T_SOA;
+ else if (!strcasecmp(optarg, "MB"))
+ type = T_MB;
+ else if (!strcasecmp(optarg, "MG"))
+ type = T_MG;
+ else if (!strcasecmp(optarg, "MR"))
+ type = T_MR;
+ else if (!strcasecmp(optarg, "NULL"))
+ type = T_NULL;
else if (!strcasecmp(optarg, "WKS"))
type = T_WKS;
else if (!strcasecmp(optarg, "PTR"))
@@ -84,16 +96,34 @@ char *argv[];
type = T_MINFO;
else if (!strcasecmp(optarg, "MX"))
type = T_MX;
- else if (!strcasecmp(optarg, "MG"))
- type = T_MG;
- else if (!strcasecmp(optarg, "RP"))
- type = T_RP;
else if (!strcasecmp(optarg, "TXT"))
type = T_TXT;
+ else if (!strcasecmp(optarg, "RP"))
+ type = T_RP;
else if (!strcasecmp(optarg, "AFSDB"))
type = T_AFSDB;
else if (!strcasecmp(optarg, "ANY"))
type = T_ANY;
+ else if (!strcasecmp(optarg, "X25"))
+ type = T_X25;
+ else if (!strcasecmp(optarg, "ISDN"))
+ type = T_ISDN;
+ else if (!strcasecmp(optarg, "RT"))
+ type = T_RT;
+ else if (!strcasecmp(optarg, "NSAP"))
+ type = T_NSAP;
+ else if (!strcasecmp(optarg, "SIG"))
+ type = T_SIG;
+ else if (!strcasecmp(optarg, "KEY"))
+ type = T_KEY;
+ else if (!strcasecmp(optarg, "PX"))
+ type = T_PX;
+ else if (!strcasecmp(optarg, "GPOS"))
+ type = T_GPOS;
+ else if (!strcasecmp(optarg, "AAAA"))
+ type = T_AAAA;
+ else if (!strcasecmp(optarg, "LOC"))
+ type = T_LOC;
else {
fprintf(stderr, "Bad type (%s)\n", optarg);
exit(-1);