{"id":280,"date":"2016-03-27T11:46:36","date_gmt":"2016-03-27T15:46:36","guid":{"rendered":"https:\/\/ithinkvirtual.com\/?p=280"},"modified":"2016-03-29T23:38:16","modified_gmt":"2016-03-30T03:38:16","slug":"configure-opendns-on-ubiquiti-edgerouter-lite","status":"publish","type":"post","link":"https:\/\/ithinkvirtual.com\/2016\/03\/27\/configure-opendns-on-ubiquiti-edgerouter-lite\/","title":{"rendered":"Configure OpenDNS on Ubiquiti EdgeRouter Lite"},"content":{"rendered":"

I recently picked up a new router\/firewall for my home, and chose the Ubiquiti EdgeRouter Lite (ERLite-3<\/a>). \u00a0This device comes with a lot of bells and whistles and if you would like more information on it, please see here<\/a>.<\/p>

I am a huge fan of speed and security, and for this purpose I always choose to configure my home network to use OpenDNS<\/a> name servers rather than my ISP’s (Internet Service Provider) name servers. \u00a0OpenDNS has some great setup guides available for users to configure their devices and you can view the setup guides\u00a0here<\/a> and choose the solution that best suits your needs. \u00a0Now, I prefer to configure OpenDNS right on the router so that it applies to any and all devices on my network that use the internet. \u00a0Unfortunately though, I did not find a setup guide for Ubiquiti devices…but since I was already familiar with the process, I tinkered a bit around the EdgeOS and managed to figure it out.<\/p>

 <\/p>

In this post, I am going to cover how to set up your EdgeRouter to use OpenDNS name servers. \u00a0By default, the router is configured to forward DNS queries to the name server IP addresses obtained from your ISP via DHCP. \u00a0So let’s go ahead and change that!<\/p>

 <\/p>

First, let’s head over to the following OpenDNS<\/a> page to test our settings and ensure we are not already configured to use OpenDNS’s DNS name servers somehow (this is just for good measure). \u00a0On the right-hand site there is a link that reads:<\/p>

“click here to test your settings”<\/p><\/blockquote>

\"2016-03-27_10-56-18\"<\/a><\/p>

Go ahead and click it, and it should return the following message:<\/p>

\"2016-03-27_10-56-39\"<\/a><\/p>

Next, login to your EdgeOS dashboard WebGUI (by default it’s configured as 192.168.1.1<\/strong>) and login using the default user credentials (ubnt<\/strong>\/ubnt<\/strong>).<\/p>

\"2016-03-27_11-18-00\"<\/a><\/p>

On the bottom left corner, click the System tab to open it up.<\/p>

\"2016-03-27_11-19-21\"<\/a><\/p>

In the Name Server<\/strong> area, add the following OpenDNS name server IP addresses then scroll to the bottom and click Save <\/strong>before closing this window:<\/p>

208.67.222.222<\/strong><\/p>

208.67.220.220<\/strong><\/p><\/blockquote>

\"2016-03-27_11-20-23\"<\/a>\"2016-03-27_11-20-40\"<\/a><\/p>

Great, Step\u00a01 is done! \u00a0Now onto Step\u00a02…this can be done via the CLI<\/strong> or the Config Tree<\/strong>. \u00a0(I chose the latter…)<\/p>

Click on the Config Tree<\/strong> button and navigate to the following from the left-side Configuration<\/strong> pane:<\/p>

service \/ dns \/ forwarding \/ system\u00a0<\/strong><\/p><\/blockquote>

Click the triangle-like<\/strong> icon direct to the left of the word system<\/strong>, then click the “+<\/strong>” icon to the right of the word system<\/strong>. If done correctly you should see the following header on the top of the page and two buttons, Discard\u00a0& Preview, on the bottom of the page.<\/p>

\"2016-03-27_11-21-41\"<\/a><\/p>

Next, click the Preview<\/strong> button at the bottom of the page. \u00a0This will show you the command that would be used in the CLI to apply the name servers. \u00a0The great thing about this is that it also give you the option to “Apply<\/strong>” it now via the GUI! \u00a0I chose to hit Apply. \u00a0<\/p>

\"2016-03-27_10-58-20\"<\/a><\/p>

Once, completed, there should be some green text at the bottom reading:<\/p>

“The configuration has been applied successfully”<\/p><\/blockquote>

\"2016-03-27_11-13-02\"<\/a><\/p>

Now, the final step is to go back to the OpenDNS<\/a> page and test the settings again. \u00a0If everything is applied correctly, you will be presented with the following:<\/p>

\"2016-03-27_11-03-45\"<\/a><\/p>

Now your router is fully configured to use OpenDNS! \u00a0<\/p>

I hope that you have found this to be informative so please be sure to comment below and share this post.<\/p>

<\/div>

<\/path><\/svg><\/i> \"Loading\"<\/p>

<\/div>","protected":false},"excerpt":{"rendered":"

I recently picked up a new router\/firewall for my home, and chose the Ubiquiti EdgeRouter Lite (ERLite-3). \u00a0This device comes with a lot of bells and whistles and if you would like more information on it, please see here.I am a huge fan of speed and security, and for this purpose I always choose to…<\/p>\n

<\/div>\n

<\/path><\/svg><\/i> \"Loading\"<\/p>\n

<\/div>\n","protected":false},"author":1,"featured_media":294,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[9],"tags":[11],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/ithinkvirtual.com\/wp-content\/uploads\/2016\/03\/opendns.png?fit=331%2C175&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p7k0Z6-4w","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/ithinkvirtual.com\/wp-json\/wp\/v2\/posts\/280"}],"collection":[{"href":"https:\/\/ithinkvirtual.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ithinkvirtual.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ithinkvirtual.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ithinkvirtual.com\/wp-json\/wp\/v2\/comments?post=280"}],"version-history":[{"count":0,"href":"https:\/\/ithinkvirtual.com\/wp-json\/wp\/v2\/posts\/280\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ithinkvirtual.com\/wp-json\/wp\/v2\/media\/294"}],"wp:attachment":[{"href":"https:\/\/ithinkvirtual.com\/wp-json\/wp\/v2\/media?parent=280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ithinkvirtual.com\/wp-json\/wp\/v2\/categories?post=280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ithinkvirtual.com\/wp-json\/wp\/v2\/tags?post=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}