방법은 여러가지가 있는데 본인은 옵션 1을 선택했다. 중요한건 스트릭트오더를 넣는다는 것이다. 

아.. 이런. 아래 사이트 출처를 ... 잊어버렸다; 아무튼 퍼온글임을 알린다; 고의가 아니었다. 죄송 (해외사이트임. 아마 ... 네트워크 관련 서비스를 하는곳에서 DDWRT 사용자에게 자사의 DNS로 설정하는 방법을 알려주는 내용이었다)


OPTION 1:

Step 1:
Navigate to Setup > Basic Setup > Network Setup Network Address Server Settings (DHCP)

set Static DNS 1Static DNS 2 to Unotelly's DNS servers (closest to your location)

http://unotelly.com/unodns/global



Step 2:

For Static DNS 3, you can either set it with another Unotelly DNS, 

or change it to 10.0.0.0 (a non-usable IP)




Step 3:

Apply the settings



Step 4:

Navigate to  Services Services Services Management > DNSMasq Additional DNSMasq Options

and enter: strict-order



Step 5:

Apply the Changes




OPTION 2:


DD-WRT and router in general are sometimes tricky to setup. As result, we recommend you to setup UnoDNS first on your PC/Mac to see if your network supports DNS service. If it works, then you can proceed with this tutorial. 


Step 1:
Go to http://www.unotelly.com/unodns/global and write down the IP address of two UnoDNS servers
that are cloeset to your current location. 


Step 2:
Login to DDWRT. Go to Setup Network Setup > Network Address Server Settings (DHCP)

Use DNSMasq for DHCP    (uncheck)
Use DNSMasq for DNS      (check)
DHCP-Authoritative            (uncheck)


Click Apply Settings if necessary



Step 3:
Go to Services DNSMasq and set the following:

DNSMasq     - Enable
Local DNS   - Disable

Under Additional DNSMasq Options, enter:

no-resolv
strict-order
server=[ip-address-of-UnoDNS-1]
server=[ip-address-of-UnoDNS-2]

Replace [ip-address-of-UnoDNS-x] with the UnoDNS server IPs you got from Step 1. Click Apply Settings


 3.PNG


Step 4:
Go to the Administration tab on your DD-WRT gateway page.
Click on the Commands tab.
In the Commands box, enter the following:

iptables -t nat -A PREROUTING -i br0 -p udp --dport 53 -j DNAT --to $(nvram get lan_ipaddr)
iptables -t nat -A PREROUTING -i br0 -p tcp --dport 53 -j DNAT --to $(nvram get lan_ipaddr)


Step 5:
click Save Firewall


Step 6:
Close all browsers, restart your computer, and go to http://quickstart.unotelly.com to check your setup status.



+ Recent posts