<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DDclient Archives - Scubian</title>
	<atom:link href="https://illuwa.net/tag/ddclient/feed/" rel="self" type="application/rss+xml" />
	<link>https://illuwa.net/tag/ddclient/</link>
	<description>memory</description>
	<lastBuildDate>Sat, 11 Feb 2023 12:18:10 +0000</lastBuildDate>
	<language>ko-KR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>Google Domain에 DDClient로 유동 IP 연결하기</title>
		<link>https://illuwa.net/google-domain%ec%97%90-ddclient%eb%a1%9c-%ec%9c%a0%eb%8f%99-ip-%ec%97%b0%ea%b2%b0%ed%95%98%ea%b8%b0/</link>
					<comments>https://illuwa.net/google-domain%ec%97%90-ddclient%eb%a1%9c-%ec%9c%a0%eb%8f%99-ip-%ec%97%b0%ea%b2%b0%ed%95%98%ea%b8%b0/#comments</comments>
		
		<dc:creator><![CDATA[illuwa]]></dc:creator>
		<pubDate>Mon, 29 Aug 2022 07:39:27 +0000</pubDate>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[DDclient]]></category>
		<category><![CDATA[DDNS]]></category>
		<category><![CDATA[Google Domain]]></category>
		<category><![CDATA[Raspberry Pi 4]]></category>
		<category><![CDATA[구글도메인]]></category>
		<guid isPermaLink="false">http://illuwa.ddns.net/?p=15</guid>

					<description><![CDATA[<p>DDclient를 이용한 DDNS for 구글 <a class="more-link" href="https://illuwa.net/google-domain%ec%97%90-ddclient%eb%a1%9c-%ec%9c%a0%eb%8f%99-ip-%ec%97%b0%ea%b2%b0%ed%95%98%ea%b8%b0/">Continue reading <span class="screen-reader-text">  Google Domain에 DDClient로 유동 IP 연결하기</span><span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://illuwa.net/google-domain%ec%97%90-ddclient%eb%a1%9c-%ec%9c%a0%eb%8f%99-ip-%ec%97%b0%ea%b2%b0%ed%95%98%ea%b8%b0/">Google Domain에 DDClient로 유동 IP 연결하기</a> appeared first on <a href="https://illuwa.net">Scubian</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>조회수: 2</p>
<h2 class="wp-block-heading">Installation DDclient for non-static ip address to connect google domain services #feat Raspberry Pi 4</h2>



<p></p>



<p><strong>1. Google Domain(https://domains.google.com) 접속 후 관리할 도메인 선택</strong></p>



<p>Select the domain to manage after accessing Google Domain (<a href="https://domains.google.com/">https://domains.google.com</a>).</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="333" src="https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.myds.me/wp-content/uploads/2023/02/image-22-1024x333.png&amp;nocache=1" alt="" class="wp-image-1703" srcset="https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-22-1024x333.png&amp;nocache=1 1024w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-22-300x97.png&amp;nocache=1 300w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-22-768x250.png&amp;nocache=1 768w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-22-1536x499.png&amp;nocache=1 1536w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-22.png&amp;nocache=1 1579w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p></p>



<p><strong>2. DNS 관리 메뉴에서 동적 DNS(Dynamic DNS) 클릭</strong></p>



<p>Click on Dynamic DNS in the DNS management menu.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="615" src="https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.myds.me/wp-content/uploads/2023/02/image-23-1024x615.png&amp;nocache=1" alt="" class="wp-image-1705" srcset="https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-23-1024x615.png&amp;nocache=1 1024w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-23-300x180.png&amp;nocache=1 300w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-23-768x461.png&amp;nocache=1 768w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-23-1536x923.png&amp;nocache=1 1536w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-23.png&amp;nocache=1 1681w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p></p>



<p><strong>3.  동적 DDNS 추가 및 사용자 정보 확인</strong></p>



<p>새 레코드 만들기를 클릭 후 , 생성할 2차 도메인 주소를 호스트 이름에 기재하고, 저장한다.</p>



<p>Click on &#8216;Create a new record&#8217; and enter the host name with the 2nd level domain address to be created. Then save it.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="615" src="https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.myds.me/wp-content/uploads/2023/02/image-24-1024x615.png&amp;nocache=1" alt="" class="wp-image-1706" srcset="https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-24-1024x615.png&amp;nocache=1 1024w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-24-300x180.png&amp;nocache=1 300w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-24-768x461.png&amp;nocache=1 768w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-24-1536x922.png&amp;nocache=1 1536w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-24.png&amp;nocache=1 1683w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>보기를 누르면 Google Domain에서 생성한 아이디 및 비밀번호를 확인할 수 있으며, 복사할 수 있다. 따로 적어두던지, 창을 닫지 말고 열어두자. 서버에 데몬 설치할 때 필요하다.</p>



<p>By clicking on &#8216;view&#8217;, you can confirm the ID and password created by Google Domain, and you can copy it. Write it down or keep the window open, as it will be needed when installing the daemon on the server.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="615" src="https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.myds.me/wp-content/uploads/2023/02/image-25-1024x615.png&amp;nocache=1" alt="" class="wp-image-1707" srcset="https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-25-1024x615.png&amp;nocache=1 1024w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-25-300x180.png&amp;nocache=1 300w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-25-768x462.png&amp;nocache=1 768w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-25-1536x923.png&amp;nocache=1 1536w, https://illuwa.net/wp-content/webpc-passthru.php?src=https://illuwa.net/wp-content/uploads/2023/02/image-25.png&amp;nocache=1 1689w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p></p>



<p><strong>4. 쉘 접속(SSH) 후 DDclient 설치</strong></p>



<p>After connecting to the shell (SSH), install DDclient</p>



<pre title="ddclient 설치" class="wp-block-code"><code lang="bash" class="language-bash line-numbers">sudo apt-get update 
sudo apt-get install ddclient</code></pre>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p></p>



<p><strong>5. DDclient 설정(/etc/ddclient.conf)</strong></p>



<p>Configure DDclient (/etc/ddclient.conf)</p>



<pre title="ddclient 설정파일 편집" class="wp-block-code"><code lang="bash" class="language-bash">sudo vi /etc/ddclient.conf</code></pre>



<p>login 및 password 부분에는 <strong>Google 로그인 정보가 아닌</strong>, google domains에서 발급한 해당 domain DDNS의  id 및 password를 입력해야 합니다. </p>



<p>In the login and password section, you need to enter the ID and password of the corresponding domain DDNS issued by Google domains, <strong>not the Google login information</strong></p>



<p></p>



<p>설치 과정 중에 아래 ddclient.conf에 기록될 내용을 물어보면서 진행이 됩니다.</p>



<p>수정할 내용이 없으면 따로 conf 파일을 열어보지 않아도 동작에는 문제가 없습니다.</p>



<p>If you are asked about the contents that will be recorded in ddclient.conf during the installation process, the process will proceed. If there is no content to be modified, there will be no problems in operation even if you do not open the conf file separately.</p>



<pre title="ddclient 설정파일 내용" class="wp-block-code"><code lang="vim" class="language-vim line-numbers"># Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf
protocol=googledomains  #old version: dyndns2
use=web, web=https://domains.google.com/checkip 
login=login id here 
password='login password here' 
blog.illuwa.net #domain</code></pre>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p></p>



<p><strong>6. DDclient 데몬 설정</strong></p>



<p>DDclient daemon (background service) can be set up by following these steps:</p>



<pre title="ddclient 데몬 설정 편집" class="wp-block-code"><code lang="bash" class="language-bash">sudo vi /etc/default/ddclient</code></pre>



<pre title="ddclient 데몬 설정 파일 내용" class="wp-block-code has-white-color has-text-color"><code lang="vim" class="language-vim line-numbers"># Configuration for ddclient scripts
# generated from debconf on 2022. 08. 29. (월) 13:46:21 KST
#
# /etc/default/ddclient
# Set to "true" if ddclient should be run every time DHCP client ('dhclient'
# from package isc-dhcp-client) updates the systems IP address.
run_dhclient="true"
# Set to "true" if ddclient should be run every time a new ppp connection is
# established. This might be useful, if you are using dial-on-demand.
run_ipup="false"
# Set the time interval between the updates of the dynamic DNS name in seconds.
# This option only takes effect if the ddclient runs in daemon mode.
daemon_interval="5m"\
</code></pre>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p></p>



<p><strong>7. ddclient 서비스 자동 시작 등록 및 상태 확인</strong></p>



<p>Register ddclient service for automatic start and check its status</p>



<pre title="자동 시작 등록 및 상태 확인" class="wp-block-code"><code lang="bash" class="language-bash line-numbers">sudo systemctl enable ddclient
sudo systemctl start ddclient
sudo systemctl status ddclient</code></pre>



<pre title="데몬 실행 상황 확인" class="wp-block-code"><code lang="vim" class="language-vim line-numbers">ddclient.service - Update dynamic domain name service entries
     Loaded: loaded (/lib/systemd/system/ddclient.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2022-08-29 13:46:23 KST; 1h 37min ago
       Docs: man:ddclient(8)
   Main PID: 256871 (ddclient - slee)
      Tasks: 1 (limit: 4164)
        CPU: 1.217s
     CGroup: /system.slice/ddclient.service
             └─256871 ddclient - sleeping for 170 seconds
 8월 29 13:46:23 raspberrypi systemd[1]: Starting Update dynamic domain name service entries...
 8월 29 13:46:23 raspberrypi systemd[1]: Started Update dynamic domain name service entries.</code></pre>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p><strong>8. 업데이트 되는지 Google Domain에서 확인</strong></p>



<p>Check if updated in Google Domains</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p><strong>9. 정 안되면, URL로 직접하자.</strong></p>



<p>If it is not working, let&#8217;s directly try it through the URL.</p>



<p></p>



<p>설치가 어려운 경우, 브라우저나 콘솔로 아래 URL로 접속하면 구글에 업데이트 할 수 있다. (굵은 글씨 수정)</p>



<p>In case the installation is difficult, you can update Google by accessing the URL below using a browser or console.</p>



<p></p>



<p><a href="https://username:password@domains.google.com/nic/update?hostname=subdomain.yourdomain.com&amp;myip=1.2.3.4">https://<strong>username:password</strong>@domains.google.com/nic/update?hostname=<strong>sub.mydomain.com</strong>&amp;myip=<strong>1.2.3.4</strong></a></p>



<p></p>



<p><a rel="noreferrer noopener" href="https://support.google.com/domains/answer/6147083?hl=ko#zippy=%2C%EA%B2%8C%EC%9D%B4%ED%8A%B8%EC%9B%A8%EC%9D%B4-%ED%98%B8%EC%8A%A4%ED%8A%B8-%EB%98%90%EB%8A%94-%EC%84%9C%EB%B2%84%EC%97%90-%ED%81%B4%EB%9D%BC%EC%9D%B4%EC%96%B8%ED%8A%B8-%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%A8-%EC%84%A4%EC%B9%98%2Capi%EB%A5%BC-%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC-%EB%8F%99%EC%A0%81-dns-%EB%A0%88%EC%BD%94%EB%93%9C-%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8" data-type="URL" data-id="https://support.google.com/domains/answer/6147083?hl=ko#zippy=%2C%EA%B2%8C%EC%9D%B4%ED%8A%B8%EC%9B%A8%EC%9D%B4-%ED%98%B8%EC%8A%A4%ED%8A%B8-%EB%98%90%EB%8A%94-%EC%84%9C%EB%B2%84%EC%97%90-%ED%81%B4%EB%9D%BC%EC%9D%B4%EC%96%B8%ED%8A%B8-%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%A8-%EC%84%A4%EC%B9%98%2Capi%EB%A5%BC-%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC-%EB%8F%99%EC%A0%81-dns-%EB%A0%88%EC%BD%94%EB%93%9C-%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8" target="_blank">구글 도메인 레퍼런스 링크</a>(google domain reference link)</p>
<p>The post <a href="https://illuwa.net/google-domain%ec%97%90-ddclient%eb%a1%9c-%ec%9c%a0%eb%8f%99-ip-%ec%97%b0%ea%b2%b0%ed%95%98%ea%b8%b0/">Google Domain에 DDClient로 유동 IP 연결하기</a> appeared first on <a href="https://illuwa.net">Scubian</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://illuwa.net/google-domain%ec%97%90-ddclient%eb%a1%9c-%ec%9c%a0%eb%8f%99-ip-%ec%97%b0%ea%b2%b0%ed%95%98%ea%b8%b0/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
