Статус dydns network error

Use this basic troubleshooting guide to navigate through the most common errors you may run into when using No-IP's services.

Having trouble connecting to your device? Check out this Knowledge Base article for answers to some of the most frequent issues.

Does the IP address my hostname is resolving to match my current public IP address?

Login to your No-IP account and navigate to My Services > DNS records on the left side menu of the page. You will see a list of domains/hostnames that are associated with your account. Next, to the hostname, you will see the IP address that we are currently resolving to. You can verify that this is the correct IP address by visiting Port Check Tool. This website will show you your current public IP address. If the IP address does not match the one listed by your hostname, you will need to manually update it to get your service working again.

How do I manually update my hostname in my No-IP account?

To manually update the hostname, login to your No-IP account and navigate to My Services > DNS records on the left side menu of the page. Next to the hostname that you need to update click “Modify”. On the next page, under the Hostname Information window, you will see a location to change the IP address. Replace the IP address being shown with the IP address you received from Port Check Tool and click Update Host at the bottom right of the page. It will take 60 seconds for the changes to fully propagate to the new IP address.

How do I avoid manually updating my hostname in the future?

In this situation, it is recommended to use an update client that will automatically update the hostname’s IP address when it changes. You will need to download No-IP’s Dynamic Update Client. This Dynamic Update Client will track any changes to your IP address and allow No-IP to update them accordingly. You can also check to see if your device (router, camera, etc) supports Dynamic DNS and has No-IP as an integrated provider. If it supports No-IP, you can configure it to update your hostname with the correct IP address. This removes the need for downloading our Dynamic Update Client.

Note: This software must be installed and running at all times in order to continue sending us an update. If the update client gets turned off, or if the computer is shut down or falls asleep, the update client will stop working and we will not receive any updates.

Is the DNS server returning the right IP address?

If your hostname is showing the correct IP address, but you cannot connect to your device, the next step is to make sure that the hostname is resolving properly. The easiest way to test this is to run an NSLOOKUP command from a Terminal window. Open a command line window (Terminal on Linux, Command Prompt on Windows) and type the following: nslookup yourhost.yourdomain.com.

In response, you should see a message that looks similar to this:

Screen Shot 2015-06-08 at 10.40.16 AM

The IP address that returns should match the IP address that is shown next to your hostname on the Hosts/Redirects page.

How do I configure my router to remote access my device, computer, etc?

First, you need to configure port forwarding on your router. You will need to know what port your application uses, and also the internal network IP address of the machine you’re using to serve that application. Have a look at our Basic Port Forwarding Guide for more information on port forwarding.

Note: You should only open the ports that are needed to gain access to your applications. You will also want to make sure your computers have all the latest patches and security updates applied, in order to minimize the possibility of someone compromising your network.

What if my computer has a firewall enabled?

If your computer has a firewall turned on, you will need to configure it to allow inbound connections. If this is not set up properly any inbound connection of your network will fail. Among the more popular firewalls, is the one built into Windows-based computers. We have an illustrated guide that covers how to configure that firewall here. Please consult the documentation for your product to find specific instructions on how to configure its firewall service

Is my ISP blocking the port(s) I am trying to use?

The easiest way to test if your ports are open and properly configured on your end is to use our Port Check Tool. Simply put the port number you want to test, 22 in our example, in the box marked What Port?, then push the Check button. Our server will attempt a connection directly to your IP address and let you know the results. Anything other than a response like the one below indicates something is wrong.

Screen Shot 2015-06-08 at 10.40.06 AM

A response that says “Connection Timed Out” usually means that your router isn’t properly set up, or that your ISP is blocking the port you’re trying to use. Double-check your port forwarding configuration and repair it if need be. If it looks right and you still can’t connect, try running your service on a different port and try the test again.

A response of “Connection Refused” is indicative of a potential firewall problem.

What if a port is blocked?

If it turns out that the problem is being caused by your ISP’s port block, you have a few options available. In the case of a web server being denied access on port 80, you can use the Port 80 Redirect feature of our Dynamic DNS service. The Port 80 Redirect is available as a part of any of our Dynamic DNS and Managed DNS packages. This allows you to specify a different port for your website to use and is transparent to your users.

If the ISP is blocking port 25, which is used to run an SMTP mail server, then we have different options depending on whether the block is outbound or inbound. You can find these answers in our knowledge base.

If you have any additional questions or if this didn’t solve your problem please feel free to open a support ticket.

Detecting the errors and error sources with nsupdate

BIND is very strict about syntax and configuring and it does not forgive missing dot characters. The more complex a troubleshooting can be. nsupdate itself can already declare different errors. These ways and means for error limitation and elimination are to be addressed here.

Normally, send of nsupdate does not return if the update was successful.

NOTAUTH(BADKEY)

If you get an output like

; TSIG error with server: tsig indicates error
update failed: NOTAUTH(BADKEY)

then most of the time the cause lies in a faulty key or in the incorrect indication of the key. This can happen, for example, if an incorrect key name or the wrong algorithm was specified with the key command or the -k option.
An equivalent log message in /var/log/messages, /var/bind/security_info.log or journalctl looks like this:

22-Feb-2018 11:55:03.991 error: client 178.25.30.4#56421: request has invalid signature: TSIG ddns.example.org: tsig verify failure (BADKEY)

update failed: NOTAUTH

NOTAUTH means only «not authoritative». This means that, e.g. tries to change the local caching DNS. However, this happens quite unintentionally relatively easily in connection with a more extensive BIND configuration with, for example, views. The most common case may be that you just land in the wrong view. Here it may help to adjust the internal view.

update failed: REFUSED

Receiving the following error message from nsupdate to a send indicates either a misconfiguration of the parameters of the update-policy configuration option in the configuration file /etc/named.conf or /etc/bind/named.conf.local or an incorrect specification within nsupdate with respect to the DNS records being changed.

The log message is then usually as follows:

26-Feb-2018 17:58:14.244 info: client 178.174.206.155#39513/key ddns.example.org: updating zone ‘example.org/IN’: update failed: rejected by secure update (REFUSED)

req_response: request 0x74c62008: unexpected error

Here helps, what has already been mentioned elsewhere. BIND will create a .jnl file in the same directory if the respective zone file is successfully updated. As soon as the associated zone file is changed — even if it is just the serial number — this error occurs. Here it only helps to delete the .jnl file and provide the zone file with a new serial number, in order to then restart BIND.

Procedure for troubleshooting

Most of the time, nsupdate will provide the message first; Communication with server failed: timed out on. This can mean a lot, including the fact that because of a firewall the connection to the BIND server is denied. So, the first step is to check the open ports on the server:

# nmap dns.example.org
Starting Nmap 6.47 at 2018-02-27 09:43 CET
Nmap scan report for dns.example.org (178.65.12.2)
Host is up (0.038s latency).
Not shown: 996 filtered ports
PORT     STATE  SERVICE
53/tcp   open   domain
80/tcp   closed http
443/tcp  closed https
3128/tcp closed squid-http

Nmap done: 1 IP address (1 host up) scanned in 21.43 seconds

With the port scanner nmap can be very easily show which ports and especially if port 53 is open.

But also nsupdate offers further possibilities to provide more informative information. For example, options -v and -L 3 switch to verbose and debug level 3. In addition, show displays the current message, which contains all the prerequisites and updates since the last submission. While answer displays the answer.

# nsupdate -v -L 3 -k /etc/ssl/Kdyndns.example.org.+163+46242.private
27-Feb-2018 18:36:48.223 dns_requestmgr_create
27-Feb-2018 18:36:48.224 dns_requestmgr_create: 0x74d05f08
> server ns.example.org
> zone example.org
> update delete dyndns.example.org
> update add dndns.example.org 18000 A 84.189.213.55
> send
27-Feb-2018 18:37:28.194 dns_request_createvia
27-Feb-2018 18:37:28.194 request_render
27-Feb-2018 18:37:28.194 requestmgr_attach: 0x74d05f08: eref 1 iref 1
27-Feb-2018 18:37:28.194 mgr_gethash
27-Feb-2018 18:37:28.195 dns_request_createvia: request 0x74c48008
27-Feb-2018 18:37:28.230 req_connected: request 0x74c48008
27-Feb-2018 18:37:28.230 req_send: request 0x74c48008
27-Feb-2018 18:37:28.231 req_senddone: request 0x74c48008
27-Feb-2018 18:37:28.266 req_response: request 0x74c48008: unexpected error
27-Feb-2018 18:37:28.266 req_cancel: request 0x74c48008
27-Feb-2018 18:37:28.266 req_sendevent: request 0x74c48008
; Communication with server failed: unexpected error
27-Feb-2018 18:37:28.266 dns_request_destroy: request 0x74c48008
27-Feb-2018 18:37:28.266 req_destroy: request 0x74c48008
27-Feb-2018 18:37:28.266 requestmgr_detach: 0x74d05f08: eref 1 iref 0

Network traffic sniffing

However, reading the network traffic both on the Ethernet interface of the client and on the Ethernet card of the BIND server also helps to isolate the error. So listen to tcpdump here

tcpdump -vvveni eth0 port 53

not only eth0, but also filters out all data packets except the DNS service. With -vvv one receives an extremely detailed output, while -n leads a display of the IP and port numbers instead of names and -e provides for the display of the Ethernetaddresses.

Страницы 1 2 Далее

Чтобы отправить ответ, вы должны войти или зарегистрироваться

Topic RSS feed

Сообщений [ с 1 по 25 из 27 ]

1 2013-10-09 10:42:48

  • Zyxmon
  • Administrator
  • Неактивен
  • Зарегистрирован: 2008-12-07
  • Сообщений: 5,567

Тема: Службы динамического DNS на кинетике

Решил поделиться своим опытом использования DDNS на кинетиках. В дальнейшем информация из темы переедет в wiki. Побудил меня написать эти заметки окончательный перевод DynDNS.org ( http://dyn.com/ ) на платную основу. Я очень долго пользовался бесплатным аккаунтом dyndns, но его в этом году и его закрыли.

Начнем с пакета inadyn. После установки системы opkg пакет inadyn устанавливается командой

Поддерживаются следующие ddns службы:

       http://www.dyndns.org
       http://freedns.afraid.org
       http://www.zoneedit.com
       http://www.no-ip.com
       http://www.easydns.com
       http://www.tzo.com
       http://www.3322.org
       http://www.dnsomatic.com
       http://www.tunnelbroker.net
       http://dns.he.net/
       http://www.dynsip.org
       http://www.sitelutions.com
       http://www.dnsexit.com
       http://www.changeip.com

Для использования inadyn следует отредактировать файл /media/DISK_A1/system/etc/inadyn.conf и ввести там данные о своем аккаунте. Я использую freedns.afraid.org и у меня этот файл выглядит так

# Basic configuration file for inadyn
#
# /etc/inadyn.conf
background
verbose 0
update_period_sec 1800 # Check for a new IP every 600 seconds
forced_update_period 345600
username zzzzz
password yyyyy
system default@freedns.afraid.org
alias xxxxx.mooo.com

Отмечу, что в последней версии inadyn не следует задавать в конфигурационном файле хеш аккаунта freedns, программа сама его вычислит по логину и паролю.
Строка «forced_update_period 345600» заставляет посылать update раз в 4 дня даже если ip не поменяется, она не обязательна, т.к. по умолчанию программа делает это раз в 7 дней.
После этого переименуем файл K11inadyn в папке /media/DISK_A1/system/etc/init.d/ в  S11inadyn для автоматического запуска inadyn и запустим inadyn скриптом

/media/DISK_A1/system/etc/init.d/S11inadyn

Если система установлена на флешке, то лучше перенести запись логов inadyn из файла на флешке в системный журнал. Для этого следует отредактировать одну строку в файле S11inadyn. Строку запуска следует изменить на

$IBIN -F $ICONFIG -s -P $IPID -V 0

Флаг -s и отвечает за запись логов в системный журнал.
При желании можно настроить inadyn на регистрацию в некольких службах.

2 Ответ от Zyxmon 2013-10-09 10:47:20

  • Zyxmon
  • Administrator
  • Неактивен
  • Зарегистрирован: 2008-12-07
  • Сообщений: 5,567

Re: Службы динамического DNS на кинетике

Другим способом использования DDNS на кинетике является возможность заводской прошивки использовать службу DNS’O’MATIC — http://dnsomatic.com. Вы можете использовать эту службу для регистрации почти в 30 разных DDNS — http://dnsomatic.com/wiki/supportedservices.

Я опишу, как использовать DNS’O’MATIC совместно с dynu. Для этого следует зарегистрироваться и на http://www.dynu.com/ и на http://dnsomatic.com. После подтверждения регистраций по e-mail на сайте dnsomatic следует ввести данные об аккаунте на dynu
http://keenetic.zyxmon.org/files/dnsomatik.jpg
Последний шаг — прописать данные dnsomatiс на кинетике
http://keenetic.zyxmon.org/files/dns2.jpg
PS Если служба dnsomatic используется для регистрации сразу в нескольх DDNS, то в качестве доменного имени следует прописать all.dnsomatic.com (не проверял, нужно бы уточнить).

3 Ответ от Zyxmon 2013-10-09 11:03:14

  • Zyxmon
  • Administrator
  • Неактивен
  • Зарегистрирован: 2008-12-07
  • Сообщений: 5,567

Re: Службы динамического DNS на кинетике

Прошу дополнять. А какие DDNS службы используете Вы?

4 Ответ от adxfighter 2013-10-09 11:17:48

  • adxfighter
  • Member
  • Неактивен
  • Зарегистрирован: 2012-12-04
  • Сообщений: 68

Re: Службы динамического DNS на кинетике

Zyxmon,
я no-ip пользую. Бесплатный пока.
На Кинетиках настраивается без проблем. Только там, вроде, регистрироваться на почту из домена .ru нельзя
а недавно статический ip адрес завел. в домене .tk зарегистрировался, первый год бесплатно  smile

Отредактировано adxfighter (2013-10-09 11:22:39)

5 Ответ от Zyxmon 2013-10-09 11:22:54

  • Zyxmon
  • Administrator
  • Неактивен
  • Зарегистрирован: 2008-12-07
  • Сообщений: 5,567

Re: Службы динамического DNS на кинетике

И у меня есть аккаунт на noip — к сожалению раз в месяц его нужно продлевать ручками. Принудительная перерегистрация со старым ip не прокатывает.
PS У меня более года ip, выданный провом не меняется, хотя я статику не оплачиваю.

6 Ответ от adxfighter 2013-10-09 11:26:08

  • adxfighter
  • Member
  • Неактивен
  • Зарегистрирован: 2012-12-04
  • Сообщений: 68

Re: Службы динамического DNS на кинетике

Да, на no-ip, если адрес 2 месяца не меняется, регистрация пропадает. У меня было так 1 раз

7 Ответ от Zyxmon 2013-10-09 11:26:43

  • Zyxmon
  • Administrator
  • Неактивен
  • Зарегистрирован: 2008-12-07
  • Сообщений: 5,567

Re: Службы динамического DNS на кинетике

К вопросу о родительском контроле — ddns службу opendns (через dnsomatic) можно для этого использовать. Насколько помню, компания netgear в своих маршрутизаторах использует именно схему с opendns (все у них делается через web-морду).

8 Ответ от Floppik 2013-10-09 11:38:53

  • Floppik
  • Member
  • Неактивен
  • Зарегистрирован: 2013-07-08
  • Сообщений: 36

Re: Службы динамического DNS на кинетике

Zyxmon :

Прошу дополнять. А какие DDNS службы используете Вы?

Как раз  dnsomatic, а в нем зарегистрированы no-ip, и еще какой-то сервис, забыл уже. Пользуюсь встроенным в прошивку сервисом в поле хост прописан all.dnsomatic.com, все сервисы обновляются и доступны.

Отредактировано Floppik (2013-10-09 11:47:12)

9 Ответ от DIREKTOR 2013-10-09 11:55:06

  • DIREKTOR
  • New member
  • Неактивен
  • Зарегистрирован: 2012-01-30
  • Сообщений: 3

Re: Службы динамического DNS на кинетике

smile не пользовал уже месяца два, но вот щас включил старый аккаунт на роутере ради интереса, работает.
http://savepic.su/3425907.jpg

10 Ответ от allapan 2014-05-16 13:33:39

  • allapan
  • Member
  • Неактивен
  • Зарегистрирован: 2012-09-13
  • Сообщений: 70

Re: Службы динамического DNS на кинетике

Помогите разобраться. Некоторое время назад на сервисе NO-IP привязал динамику от провайдреа к хосту. Использовал услугу «динамической привязки DNS» из штатных ресурсов. Со временем завел второй хост (там их можно на шару делать 3) — но через 30 дней мне его прикончили. В связи с чем у меня возникли вопросы — прошу на них ответить если можно:
1. правильно я понимаю, что штатный «доменное имя» делает апдейт только одного — указанного в поле «доменное имя» хостнейма?
2. нужно ли в не зависимости от запушенной на кинетике службе постоянно заходить на NO-IP и апгрейдить хостнеймы?
3. Как решить задачу если хостнеймов два без постоянного захода на NO-IP или это невозможно?

11 Ответ от Zyxmon 2014-05-16 13:42:15

  • Zyxmon
  • Administrator
  • Неактивен
  • Зарегистрирован: 2008-12-07
  • Сообщений: 5,567

Re: Службы динамического DNS на кинетике

allapan, NO-IP высылает письмо с инструкцией, как продлить домен. Не реже 1 раза в 30 дней это нужно делать.

Your free host xxxxx.no-ip.org, will expire
in 7 days due to account inactivity.

xxxxx.no-ip.org was last updated on 2014-02-09 09:11:45. Free Dynamic DNS
hosts must be updated by logging into your account on our website and clicking
update, this must be done every 30 days. If you are using the Dynamic Update
Client and your IP address has not changed within the past 30 days, you must
manually update it to prevent them from being removed from our system.

For more information regarding this notice please visit: http://noip.co/H8c1bi

If you are still actively using zyxmon.no-ip.org and do not wish to have
your free host removed from our DNS servers and database please click the link
below :

https://www.noip.com/hostactive.php?req … 5fd790716b…….

Используйте другие службы dyndns или заплатите no-ip!

12 Ответ от allapan 2014-05-16 13:49:23

  • allapan
  • Member
  • Неактивен
  • Зарегистрирован: 2012-09-13
  • Сообщений: 70

Re: Службы динамического DNS на кинетике

А какую службу вы посоветуете, чтоб избегать такого гемороя? Как я понял, DNSomatic позволяет обновлять хостнеймы?

Отредактировано allapan (2014-05-16 13:51:17)

13 Ответ от Zyxmon 2014-05-16 13:52:03

  • Zyxmon
  • Administrator
  • Неактивен
  • Зарегистрирован: 2008-12-07
  • Сообщений: 5,567

Re: Службы динамического DNS на кинетике

allapan, http://freedns.afraid.org/
ЕМНИП раз в год все равно нужно будет залогиниться. Все службы рассылают мейлы, перед тем, как удалить аккаунт. Проверяйте мыло и проблем не будет.

14 Ответ от c61 2014-05-16 14:17:03

  • c61
  • Member
  • Неактивен
  • Зарегистрирован: 2013-03-09
  • Сообщений: 231

Re: Службы динамического DNS на кинетике

Если разрешите, пару слов офтопа про no-ip. Мой доменчик c61.no-ip.org жил и не тужил, индексировался яндексом, а потом вдруг бац — и перестал, и яша заявляет, что больше не будет индексировать no-ip. На вопрос «с чего так ?» получил ответ — типа спамеры там живут и мусор всякий… Как не будет безобразий, так начнем индексировать. То есть неизвестно когда. Однако, было у меня зеркало на c61.su, пришлось сделать его основным, индексацию ждал три недели. В общем, если предполагаете no-ip использовать для дела, то не рекомендую…

15 Ответ от dexter 2014-05-16 18:21:18

  • dexter
  • Member
  • Неактивен
  • Зарегистрирован: 2013-05-22
  • Сообщений: 170

Re: Службы динамического DNS на кинетике

А у меня сам кинетик выступает DDNS сервером. При этом есть локальная зона, которую динамически обновляет ISC dhcp, а так же есть две инет зоны, которые динамически обновляет удаленный кинетик с помощью nsupdate. И никаких проблем. Вторичку у nic.ru держу.

Отредактировано dexter (2014-05-18 20:39:32)

16 Ответ от ryzhov_al 2014-05-18 20:32:44

  • ryzhov_al
  • Member
  • Неактивен
  • Откуда: Смоленск, Россия
  • Зарегистрирован: 2011-12-29
  • Сообщений: 353

Re: Службы динамического DNS на кинетике

dexter, впечатляюще. После вашего сообщения я добавил пакеты ISC DHCP в Entware.

Со всеми вытекающими…

17 Ответ от felcons 2014-05-20 19:59:30

  • felcons
  • Member
  • Неактивен
  • Зарегистрирован: 2011-12-05
  • Сообщений: 152

Re: Службы динамического DNS на кинетике

Мне надо поднять на routere  keenetic, службу dyndns, на сайте duckdns.org
Там пароль просто пустой, а вот имя там идёт то что генерируется. С помощью какого приложения можна прописать службу duckdns.org?

18 Ответ от Zyxmon 2014-05-20 20:40:38

  • Zyxmon
  • Administrator
  • Неактивен
  • Зарегистрирован: 2008-12-07
  • Сообщений: 5,567

Re: Службы динамического DNS на кинетике

felcons :

С помощью какого приложения можна прописать службу duckdns.org?

Об этом наверняка написано на сайте duckdns!

19 Ответ от Zyxmon 2014-05-21 07:26:05

  • Zyxmon
  • Administrator
  • Неактивен
  • Зарегистрирован: 2008-12-07
  • Сообщений: 5,567

Re: Службы динамического DNS на кинетике

По поводу duckdns — может поможет http://forum.ixbt.com/topic.cgi?id=14:61181-13#465
Естественно, нужно исправлять под кинетик.

20 Ответ от felcons 2014-05-22 00:29:53

  • felcons
  • Member
  • Неактивен
  • Зарегистрирован: 2011-12-05
  • Сообщений: 152

Re: Службы динамического DNS на кинетике

Что скрипт надо писать, то я уже понял. Непонял одно. Как сделать, чтоб скрипт стартовал при старте? Куда его поместить? чтоб стартовал каждые 12 часов, то ясно, что крон справится, а вот как при старте запустить?
и ещё будет ли правильный вот такой скрипт?
Мне кажется, что  с ип адресом тут проблемы.

#!/bin/sh
#### duckdns autoupdate
DOMAIN='mydomain.duckdns.org'
PASSWORD='mypasswd'
#### set to ppp0 for ppoe,pptp,l2tp
#### set to eth3 for IPOE
wan_if='ppp0'
#### syslog tag
log_tag="DUCKDNS_UPDATE"
if [ $2 = $wan_if ] && [ $1 = "up" ]; then
IP=`ip route sh dev $2 2>/dev/null | grep 'proto kernel  scope link' | awk '{print $7}'`
wget -O - http://www.duckdns.org/update?domains=${DOMAIN}token=${PASSWORD}ip=${IP} | logger -t $log_tag
fi

21 Ответ от Zyxmon 2014-05-22 06:19:55

  • Zyxmon
  • Administrator
  • Неактивен
  • Зарегистрирован: 2008-12-07
  • Сообщений: 5,567

Re: Службы динамического DNS на кинетике

felcons :

а вот как при старте запустить?

Вы вроде тут не первый день. Wiki должны по памяти цитировать.

felcons :

будет ли правильный вот такой скрипт?

Практика критерий истины.

22 Ответ от felcons 2014-05-22 10:41:22

  • felcons
  • Member
  • Неактивен
  • Зарегистрирован: 2011-12-05
  • Сообщений: 152

Re: Службы динамического DNS на кинетике

С стартом разобрался. папка init.d, то тут проблем нету. а вот проблемы с самим скриптом.
У меня при его старте пишется вот так:
sh: ppp0: unknown operand                                                       
Где и что править?

Отредактировано felcons (2014-05-22 11:12:43)

23 Ответ от Zyxmon 2014-05-22 13:36:46

  • Zyxmon
  • Administrator
  • Неактивен
  • Зарегистрирован: 2008-12-07
  • Сообщений: 5,567

Re: Службы динамического DNS на кинетике

felcons, Вы взяли чужой скрипт и не понимаете, что он делает. Напишите свой.

24 Ответ от felcons 2014-05-22 14:05:40

  • felcons
  • Member
  • Неактивен
  • Зарегистрирован: 2011-12-05
  • Сообщений: 152

Re: Службы динамического DNS на кинетике

Я думаю, что он берёт пароль, полставляет его, потом вычисляет ип адрес, подставляет его и всё обновляет.
Так что вот таким образом и работает. Но проблема в том, что скрипту не удаётся получить ип адрес.
строка
IP=`ip route sh dev $2 2>/dev/null | grep ‘proto kernel  scope link’ | awk ‘{print $7}’`
мне не нравится, и я тут просто незнаю как получить ип адрес, чтоб его подставить в параметры wget.

25 Ответ от dexter 2014-05-22 19:56:39

  • dexter
  • Member
  • Неактивен
  • Зарегистрирован: 2013-05-22
  • Сообщений: 170

Re: Службы динамического DNS на кинетике

Кусочек скрипта который вытаскивает внешний адрес который выдается провом на PPoE.

IFACE=»ppp0″
IP=`ifconfig $IFACE | grep «inet addr:» | awk ‘{print $2}’ | awk -F «:» ‘{print $2}’`
IP=${IP}

А у Вса какой тип соединения к прову?

Отредактировано dexter (2014-05-22 20:00:04)

Страницы 1 2 Далее

Чтобы отправить ответ, вы должны войти или зарегистрироваться

@jasonandres no, i can’t see the cause of the weird behavior. I only see that is more common on android 5 (even more common with mobile network). This is my react native project package.json

{
  "name": "xxx",
  "version": "0.0.1",
  "private": true,
  "proxy": "http://localhost:8080",
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start --config ../../../../rn-cli.config.js",
    "test": "jest",
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "server": "react-native start"
  },
  "dependencies": {
    "axios": "0.18.0",
    "geolib": "2.0.24",
    "human-readable-ids": "1.0.4",
    "react": "16.3.1",
    "react-native": "0.55.4",
    "react-native-device-info": "0.21.5",
    "react-native-exit-app": "1.0.0",
    "react-native-fbsdk": "0.7.0",
    "react-native-fetch-blob": "0.10.8",
    "react-native-firebase": "4.2.0",
    "react-native-geocoding": "0.3.0",
    "react-native-gifted-chat": "0.4.3",
    "react-native-image-picker": "0.26.10",
    "react-native-linear-gradient": "2.3.0",
    "react-native-maps": "0.19.0",
    "react-native-masked-text": "1.7.1",
    "react-native-mauron85-background-geolocation": "0.5.0-alpha.34",
    "react-native-parallax-scroll-view": "0.21.0",
    "react-native-picker-select": "3.1.1",
    "react-native-signature-capture": "0.4.9",
    "react-native-snap-carousel": "3.7.0",
    "react-native-star-rating": "1.0.9",
    "react-native-step-indicator": "0.0.7",
    "react-native-swipe-list-view": "1.0.3",
    "react-navigation": "2.0.4",
    "react-redux": "5.0.7",
    "redux": "4.0.0",
    "redux-devtools-extension": "2.13.2",
    "redux-thunk": "2.3.0",
    "underscore": "1.9.0",
    "validator": "10.3.0"
  },
  "devDependencies": {
    "@types/axios": "0.14.0",
    "@types/geolib": "2.0.23",
    "@types/jest": "22.2.3",
    "@types/node": "9.6.8",
    "@types/react": "16.3.14",
    "@types/react-native": "0.55.14",
    "@types/react-navigation": "1.5.11",
    "@types/react-redux": "6.0.2",
    "@types/react-test-renderer": "16.0.1",
    "@types/redux": "3.6.0",
    "@types/underscore": "1.8.8",
    "@types/validator": "9.4.1",
    "babel-jest": "22.4.4",
    "babel-preset-react-native": "4.0.0",
    "jest": "22.4.4",
    "react-native-typescript-transformer": "1.2.5",
    "react-test-renderer": "16.3.1",
    "ts-jest": "22.4.6",
    "typescript": "2.8.3"
  },
  "jest": {
    "preset": "react-native",
    "transform": {
      ".+\.tsx?$": "ts-jest"
    },
    "testRegex": "(/__tests__/.*|(\.|/)(test|spec))\.(jsx?|tsx?)$",
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json",
      "node"
    ],
    "modulePaths": [
      "<rootDir>"
    ]
  }
}

i saw others comments about react-navigation causing problems with another libs… may be this could be the case

i’m using node + express too, but the failed request doesn’t hit the api (a saw logs)

have you got some clue?

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Стандартная ошибка выборки формула
  • Стеклопакет запотевает внутри между стеклами как исправить
  • Статус c5 current pending sector count как исправить
  • Стар 500 стабилизатор ошибка h
  • Стандартная ошибка аппроксимации

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии