{"id":55,"date":"2008-08-26T09:24:02","date_gmt":"2008-08-26T07:24:02","guid":{"rendered":"http:\/\/wp1.fredptitgars.net\/index.php\/2008\/08\/26\/configurer-le-nom-de-domaine\/"},"modified":"2008-08-26T09:24:02","modified_gmt":"2008-08-26T07:24:02","slug":"configurer-le-nom-de-domaine","status":"publish","type":"post","link":"https:\/\/fredptitgars.ovh\/?p=55","title":{"rendered":"configurer le nom de domaine"},"content":{"rendered":"<p>Il est d&rsquo;abord n\u00e9cessaire de se cr\u00e9er un compte chez <a href=\"https:\/\/www.dyndns.com\">dyndns<\/a><br \/>\n<br \/>Il faut cr\u00e9er un \u00abhostname\u00bb<\/p>\n<p>Sur sa machine on install ddclient<br \/>\n<code><br \/>\napt-get install ddclient<br \/>\n<\/code><\/p>\n<p>Le fichier de configuration se trouve sous \/etc\/ddclient.conf<\/p>\n<p><code><br \/>\n# Configuration file for ddclient generated by debconf<br \/>\n#<br \/>\n# \/etc\/ddclient.conf<\/p>\n<p>pid=\/var\/run\/ddclient.pid<br \/>\nprotocol=dyndns2<br \/>\n#use=if, if=et0<br \/>\nuse=web, web=checkip.dyndns.com, web-skip='IP Address'<br \/>\nserver=members.dyndns.org<br \/>\nlogin=Le compte dyndns<br \/>\npassword='le mot de passe'<br \/>\nle nomde domain dyndns<br \/>\n<\/code><\/p>\n<p>Fonctionnement de ddclient:<\/p>\n<p>Le d\u00e9mon se lance, et se r\u00e9veille toutes les 300 secondes par d\u00e9faut. Il m\u00e9morise l&rsquo;adresse ip dans un fichier, et si il y a changement il l&rsquo;envoi au serveur dyndns.<br \/>\n<br \/>Pour forcer l&rsquo;envoie:<br \/>\n<code><br \/>\nddclient -use=ip -ip=1.2.3.4 -daemon=0<br \/>\n<\/code><\/p>\n<p>L&rsquo;adresse IP se trouve dans le fichier : <\/p>\n<p><code><br \/>\n\/var\/cache\/ddclient\/ddclient.cache<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Il est d&rsquo;abord n\u00e9cessaire de se cr\u00e9er un compte chez dyndns Il faut cr\u00e9er un \u00abhostname\u00bb Sur sa machine on install ddclient apt-get install ddclient Le fichier de configuration se trouve sous \/etc\/ddclient.conf # Configuration file for ddclient generated by debconf # # \/etc\/ddclient.conf pid=\/var\/run\/ddclient.pid protocol=dyndns2 #use=if, if=et0 use=web, web=checkip.dyndns.com, web-skip=&rsquo;IP Address&rsquo; server=members.dyndns.org login=Le compte [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-poweredge-t105"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=55"}],"version-history":[{"count":0,"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=\/wp\/v2\/posts\/55\/revisions"}],"wp:attachment":[{"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}