# DNS Toys - DNS 프로토콜을 이용한 작은 유틸리티 오픈소스

> Clean Markdown view of GeekNews topic #6736. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=6736](https://news.hada.io/topic?id=6736)
- GeekNews Markdown: [https://news.hada.io/topic/6736.md](https://news.hada.io/topic/6736.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2022-06-13T09:46:01+09:00
- Updated: 2022-06-13T09:46:01+09:00
- Original source: [dns.toys](https://www.dns.toys/)
- Points: 25
- Comments: 3

## Topic Body

- 세계 시계/날씨/단위&통화 변환/IP Echo 등 명령으로 지정된 특정 도메인 주소를 DNS  조회하면, 관련 정보를 TXT 레코드 값으로 리턴하는 DNS서버  
- 터미널에서 간단히 정보조회 할때 사용 가능   
- Go 오픈소스  
- 세계 시계 : `dig seoul.time @dns.toys`  
- 날씨 : `dig seoul.weather @dns.toys`  
- 단위 변환 : `dig 42km-mi.unit @dns.toys`  
- 통화 변환 : `dig 100USD-KRW.fx @dns.toys`  
- IP Echo : `dig ip @dns.toys`  
- 숫자를 단어로 : `dig 987654321.words @dns.toys`  
- 사용가능한 CIDR 범위 : `dig 10.0.0.0/24.cidr @dns.toys` `dig 2001:db8::/108.cidr @dns.toys`

## Comments



### Comment 10508

- Author: lifthrasiir
- Created: 2022-06-14T14:12:10+09:00
- Points: 1

요전에 윤초 정보를 DNS로 인코딩해서 간단하게 서비스하는 프로토콜이 제안된 적도 있죠. (Varnish를 만든 Poul-Henning Kamp의 작품입니다: http://phk.freebsd.dk/time/20151122/ )

### Comment 10481

- Author: xguru
- Created: 2022-06-13T09:47:01+09:00
- Points: 2

그냥 재미를 위한 것이긴 한데..  
제한된 인터넷 접근을 허용하는 WIFI AP나 방화벽 안에서도 DNS용 53번 포트는 안 막혀 있는 경우가 종종 있어서  
이걸 활용해서 원하는 기능을 구현해 놓으면 다양한 용도로 사용가능할 듯 합니다.  
  
53 / 123 포트를 이런 회피 용도로 가끔 활용했던 기억이..

### Comment 10483

- Author: xguru
- Created: 2022-06-13T10:03:28+09:00
- Points: 3
- Parent comment: 10481
- Depth: 1

아예 DNS포트를 이용해서 IPv4 데이터를 터널링하는 iodine 같은 것도 있네요   
https://github.com/yarrick/iodine
