---
title: "W5500 에서 TCP/IP 접속 을 DDNS로 하는 방법을 알고싶습니다."
url: "https://maker.wiznet.io/forum/12988"
markdown_url: "https://maker.wiznet.io/forum/12988/md"
type: "Forum topic"
category: "Ethernet Chips"
author: "allmotion"
created: "2018-07-11T06:08:00+09:00"
last_activity: "2024-03-19T17:24:30+09:00"
language: "ko"
views: 866
replies: 2
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# W5500 에서 TCP/IP 접속 을 DDNS로 하는 방법을 알고싶습니다.

## Question

Asked by allmotion on 2018-07-11 in Ethernet Chips.

W5500 에서 TCP/IP 접속 을 DDNS로 하는 방법을 알고싶습니다.
현재는 ip 10.230.9.109 이렇게 접속하는데
문제는 계속해서 서버쪽 IP가 변경됩니다 .
이때 DDNS을 이용해서 획득을 해야되는데 직접 DDSN 주소를 직접 넣어서 하는 방법이 없나요.

예) connect(sn, “[allmot.iptime.org](http://allmot.iptime.org)”, Destination_Setup.port);
이렇게 하는 방법 아니면 다른 방법이 있는지요 ?

## Replies

### Reply 1 by becky, 2018-07-16

안녕하세요

driver상에서 dns주소를 직접 입력할 수 없게 되어있습니다.

ioLibrary_Driver/Internet/DNS/dns.h에서 아래 함수를 사용하시어 ip주소를 얻은후에 ip주소를 넣어주시면 됩니다.

ex)
DNS_run(dns_ip, site, site_ip);
connect(sn, site _ip, port);

[![image](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/3/3351a7c0bccad92b4c120daa01084e83370652a8.png) image880×312 9.99 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/3/3351a7c0bccad92b4c120daa01084e83370652a8.png)

### Reply 2 by EdiWiz, 2024-03-19 (in reply to reply 1)

I’ll check it out and try it.

Thank you.

---

Source: https://maker.wiznet.io/forum/12988
