summaryrefslogtreecommitdiff
path: root/sys/src/cmd/ndb/dnresolve.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2013-11-24 11:55:26 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2013-11-24 11:55:26 +0100
commit3720b5ab9c4cb485c64e83d8af740aea3680123b (patch)
tree876c1111414a17e9867ddb9886dee94fc1b0e26c /sys/src/cmd/ndb/dnresolve.c
parent94fd92cb6903b7b1319d8f87bf6cdfd86c43b125 (diff)
ndb/dns: add support for internationalized domain names
Diffstat (limited to 'sys/src/cmd/ndb/dnresolve.c')
-rw-r--r--sys/src/cmd/ndb/dnresolve.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/src/cmd/ndb/dnresolve.c b/sys/src/cmd/ndb/dnresolve.c
index 7ca39619b..6d7be2291 100644
--- a/sys/src/cmd/ndb/dnresolve.c
+++ b/sys/src/cmd/ndb/dnresolve.c
@@ -177,7 +177,7 @@ dnresolve(char *name, int class, int type, Request *req, RR **cn, int depth,
* try the name directly
*/
rp = dnresolve1(name, class, type, req, depth, recurse);
- if(rp == nil && (dp = dnlookup(name, class, 0)) != nil) {
+ if(rp == nil && (dp = idnlookup(name, class, 0)) != nil) {
/*
* try it as a canonical name if we weren't told
* that the name didn't exist
@@ -348,7 +348,7 @@ issuequery(Query *qp, char *name, int class, int depth, int recurse)
}
/* look for ns in cache */
- nsdp = dnlookup(cp, class, 0);
+ nsdp = idnlookup(cp, class, 0);
nsrp = nil;
if(nsdp)
nsrp = randomize(rrlookup(nsdp, Tns, NOneg));
@@ -387,7 +387,7 @@ dnresolve1(char *name, int class, int type, Request *req, int depth,
if(class != Cin)
return nil;
- dp = dnlookup(name, class, 1);
+ dp = idnlookup(name, class, 1);
/*
* Try the cache first