Manjaro Difference between revisions of "Sync dynamic IP with openDNS service via ddclient/ru"

Difference between revisions of "Sync dynamic IP with openDNS service via ddclient/ru"

From Manjaro
(Created page with "== Требования - Учетная запись на openDNS ==")
(Created page with "Установите адреса DNS в файле resolv.conf: {{UserCmd|command=sudo nano /etc/resolv.conf.head}}")
Tags: Mobile web edit Mobile edit
Line 6: Line 6:
== Требования - Учетная запись на openDNS ==
== Требования - Учетная запись на openDNS ==


Service ddclient for sync dynamic IP need account in OpenDNS. You need:
Службе ddclient для синхронизации динамических IP необходима учетная запись в OpenDNS. Вам необходимо:
* Create an account on [https://store.opendns.com/get/home-free openDNS] and login to [https://dashboard.opendns.com/ OpenDNS Dashboard]. Create a new Network in the settings.
* Создать учетную запись на [https://store.opendns.com/get/home-free openDNS] и войти в [https://dashboard.opendns.com/ OpenDNS Dashboard]. Создать новую сеть в настройках.
* Login on [https://www.dnsomatic.com/account/ DNS-O-Matic Site] using e-mail and password from OpenDNS.
* Войти на [https://www.dnsomatic.com/account/ сайт DNS-O-Matic], используя e-mail и пароль от OpenDNS.
* Add new Service. From list select OpenDNS. Click button '''Update account info''' for sync OpenDNS Dashboard settings with DNS-O-Matic.
* Добавьте новую службу. Из списка выберите OpenDNS. Нажмите кнопку ''''Update account info''' для синхронизации настроек OpenDNS Dashboard с DNS-O-Matic.




== Setup openDNS in system settings ==
== Настройка openDNS в настройках системы ==


Set DNS addresses in resolv.conf file:
Установите адреса DNS в файле resolv.conf:
  {{UserCmd|command=sudo nano /etc/resolv.conf.head}}
  {{UserCmd|command=sudo nano /etc/resolv.conf.head}}



Revision as of 05:40, 15 February 2023

Other languages:
English • ‎русский


Open-dns-logo.png

Требования - Учетная запись на openDNS

Службе ddclient для синхронизации динамических IP необходима учетная запись в OpenDNS. Вам необходимо:

  • Создать учетную запись на openDNS и войти в OpenDNS Dashboard. Создать новую сеть в настройках.
  • Войти на сайт DNS-O-Matic, используя e-mail и пароль от OpenDNS.
  • Добавьте новую службу. Из списка выберите OpenDNS. Нажмите кнопку 'Update account info для синхронизации настроек OpenDNS Dashboard с DNS-O-Matic.


Настройка openDNS в настройках системы

Установите адреса DNS в файле resolv.conf:

user $ sudo nano /etc/resolv.conf.head COPY TO CLIPBOARD


with code:
nameserver 208.67.222.222
nameserver 208.67.220.220


Note
If Your ISP provide IPv6 support, add these DNS IPv6 addresses entries in next lines in the /etc/resolv.conf.head file:

nameserver 2620:0:ccc::2

nameserver 2620:0:ccd::2

Setup openDNS in ddclient

#1 Install ddclient and ddclient dispatcher for NetworkManager:

user $ pamac build networkmanager-dispatcher-ddclient COPY TO CLIPBOARD


#2 Create backup a ddclient.conf file:

user $ sudo cp /etc/ddclient/ddclient.conf /etc/ddclient/ddclient.conf.skel COPY TO CLIPBOARD


#3 Open ddclient.conf file in text editor.

user $ sudo nano /etc/ddclient/ddclient.conf COPY TO CLIPBOARD


#4 Delete current content, paste in:

Note
REMEMBER - replace values email_address, password with correct values.

daemon=1800
syslog=yes
pid=/var/run/ddclient.pid
ssl=yes
use=web, web=myip.dnsomatic.com
server=updates.dnsomatic.com
protocol=dyndns2
login=email_address
password=password
all.dnsomatic.com



Save changes in a file.

#5 Run command to enable NetworkManager-dispatcher.service:

user $ sudo systemctl enable NetworkManager-dispatcher.service COPY TO CLIPBOARD


#6 Logout and login.

#7 Visit site: openDNS Dashboard to check sync status.

Смотрите также

Cookies help us deliver our services. By using our services, you agree to our use of cookies.