4

Я пытаюсь настроить туннель DNS. Я настроил его и дошел до того, что здесь работает функция тестирования: http://code.kryo.se/iodine/check-it/ .

Это результат:

Analyzing DNS setup for tunnel domain 'tunnel.mydomain.com'... (might take some time)

Looking for nameserver for mydomain.com.. got ns.domain.com (at 208.208.208.208).
Resolving delegation of tunnel.mydomain.com at 208.208.208.208... to tunnelhost.mydomain.com (at 164.164.164.164).

Expecting iodined to be accessible at 164.164.164.164... yes, using proto 00000502.
Testing iodine reply using default nameserver... ok.

Well done, your iodine setup seems fine!

Но когда я подключаюсь из командной строки, это показывает это:

Macbook-Pro:~ user$ sudo iodine -f -P asdf -T CNAME tunnel.mydomain.com
Opened /dev/tun0
Opened UDP socket
Sending DNS queries for tunnel.mydomain.com to 82.82.82.82
Using DNS type CNAME queries
iodine: Got NXDOMAIN as reply: domain does not exist
Retrying version check...
iodine: Got NXDOMAIN as reply: domain does not exist
Retrying version check...
iodine: Got NXDOMAIN as reply: domain does not exist
Retrying version check...
iodine: Got NXDOMAIN as reply: domain does not exist
Retrying version check...
iodine: Got NXDOMAIN as reply: domain does not exist
Retrying version check...
iodine: couldn't connect to server (maybe other -T options will work)

Кто-нибудь знает, что я могу попробовать?

1 ответ1

3

для меня мне нужно было направить DNS-запросы от йода на сервер через следующее:

sudo iodine -f -P asdf -T CNAME 82.82.82.82 tunnel.mydomain.com

source: manpage, от второго до последнего аргумента

   iodine  [-f]  [-r]  [-u  user ] [-P password ] [-m fragsize ] [-t chrootdir ] [-d
   device ] [-m fragsize ] [-M namelen ] [-z context ] [-F pidfile ] [-T  dnstype  ]
   [-O downenc ] [-L 0|1 ] [-I interval ] [ nameserver ] topdomain

Всё ещё ищете ответ? Посмотрите другие вопросы с метками .