[FS#155] nslookup: can't resolve

LEDE Bugs lede-bugs at lists.infradead.org
Sun Sep 4 10:49:01 PDT 2016


The following task has a new comment added:

FS#155 - nslookup: can't resolve
User who did this - Github Issues (github-import)

----------
**davidc502 commented on Jun 15 • edited
**
For those who need a work around.This also temporarily fixes Dynamic DNS which depends on nslookup.

Remove the symbolic link nslookup in /usr/bin

Put the following command in a script, NAME IT nslookup and place it in /usr/bin
Don't forget to make it executable.


/bin/busybox nslookup $1 localhost

name server lookups work properly
.
root at lede:~# nslookup google.com
Server: 127.0.0.1
Address 1: 127.0.0.1 localhost

Name: google.com
Address 1: 74.125.196.102 yk-in-f102.1e100.net
Address 2: 74.125.196.113 yk-in-f113.1e100.net
Address 3: 74.125.196.100 yk-in-f100.1e100.net
Address 4: 74.125.196.138 yk-in-f138.1e100.net
Address 5: 74.125.196.139 yk-in-f139.1e100.net
Address 6: 74.125.196.101 yk-in-f101.1e100.net
Address 7: 2607:f8b0:4002:c07::65 yk-in-x65.1e100.net

     
**hnyman commented on Jun 21
**
This sounds like the musl - busybox nslookup incompatibility (regarding the server parameter, both using it and displaying it).

[[https://dev.openwrt.org/ticket/18333]]\\
[[https://dev.openwrt.org/ticket/20893]]
     
**davidc502 commented on Jul 16
**
Just compiled lede r1003 and the issue is still there. Does anyone know if it is being looked at?
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=155#comment368



More information about the lede-bugs mailing list