OpenDNS Forums
The official support and discussion site of OpenDNS
Support
K-12 Forums
Categories
- Administrative
- Adult site blocking
- DNS-O-Matic / dynamic IPs
- Domain blocking
- Domain Name System (DNS) troubles
- Mobile instructions
- OpenDNS services
- Proxies, accelerators, and more
- Router instructions
- Satellite
- Shortcuts
- Wishlists and feature requests
-
Feeds
Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.
This discussion has been inactive for longer than 30 days, and is thus closed.
DNS-O-Matic / dynamic IPs: how i can update dynamic ip from mikrotik 2.9 auto script
Bottom of Page1 to 17 of 17
-
Salam..
i am using this service OpenDNS and my Account is khaloudy .. i use filter to stop Adult sites and i am using ((OpenDNS Updater)) and my pc working 24 hours to update my network ...
i have server mikrotik and i add dns in DNS Box 208.67.222.222 - 208.67.220.220
the mikrotik server can send update to OpenDNS or not?
i want rest my pc and OpenDNS Updater and let the server mikrotik send updates
best regards and thank you..
Khaloudy -
- CommentAuthormaintenance
- CommentTimeJul 2nd 2009 edited
Unsure, but see the manual page
http://www.mikrotik.com/testdocs/ros/3.0/system/ddns.php
Whereas this is intended to keep a domain name in sync with your dynamic IP address, perhaps it can be used to keep your IP address in sync with OpenDNS, either directly or via DNS-O-Matic. Not sure if the MicroTik OS will let you use the command this way or not.
If you can run this in a script, you are probably in business.
hxxps://username:password@updates.opendns.com/nic/update?hostname=network label
(replace xx with tt)
username = your username
password = your password
network label = your network label
[edited to break link per the rotblitz method] -
i did that inscript
https://khaloudy:123456789@updates.opendns.com/nic/update?hostname=home
and the script send it over 10
no changes -
- CommentAuthormaintenance
- CommentTimeJul 2nd 2009
I am assuming that is not your actual password, right? (Good.
)
If you send the same through a browser address bar, does it work?
What change are you expecting? Has you IP been updated if you check your Dashboard?
If not, ensure that password and username are entered exactly as you have them in your Dashboard and OpenDNS Updater (capitalization counts).
Are you using OpenDNS at all? http://welcome.opendns.com
If the problem is simply that blocking seems not to work, clear your browser cache and local resolver cache. http://www.opendns.com/support/article/209
If you ISP uses a proxy of some sort, OpenDNS filtering may not work for you.
If none of my suggestions are of help, you may wish to check back later when others have had a chance to see your post. Realize, also, that your dynamic IP probably does not change all that often, and it would be fine to simply have the Updater start when your PC does. (Many users do not keep their PC running 24 hours a day, and it is not a problem.)
Best of luck in getting this working to your satisfaction.
-
i send the same through a browser address bar, doesn't work
https://khaloudy:123456789@updates.opendns.com/nic/update?hostname=home
you can try with your name and pass word
but this work
updates.opendns.com/nic/update >>> asking user name and password
when i write my name and password i find this >>>> good 41.235.12.62
our ISP TEdata first ISP in egypt open every thing and no proxy
sorry for bad english language :)
i put some thing in DNS when i site blocking
this line
/ ip dns static
add name="www.block.opendns.com" address=74.125.67.100 ttl=1d
this make the blocked page go to www.google.com
that's only -
"good 41.235.12.62"
This is what must be returned by OpenDNS. This is the confirmation for having updated the IP address in your dashboard.
Back to the update URL and process:
1. Your client (e.g. mikrotik 2.9) must support TLS/SSL to update OpenDNS.
http://www.opendns.com/support/article/83
http://www.opendns.com/support/article/88
If it does not, you can go through DNS-O-Matic (http://www.dnsomatic.com/).
2. Your client must be able to support HTTP Basic Auth. A browser (or Windows Explorer) can derive user ID and password from the URL, but this is not how it works technically or with most other clients. At the server end, the user ID and password must not be part of the URL.
http://forums.opendns.com/comments.php?DiscussionID=4024#Item_12
http://forums.opendns.com/comments.php?DiscussionID=4029#Item_6
"i put some thing in DNS when i site blocking
this line
/ ip dns static
add name="www.block.opendns.com" address=74.125.67.100 ttl=1d
this make the blocked page go to www.google.com"
Sorry, what exactly do you mean by "in DNS", is it your mikrotik?
But this blocking/redirection works on your mikrotik level and is nothing to do with OpenDNS.
OpenDNS filtering and blocking can be defined at https://www.opendns.com/dashboard/settings/0/content_filtering
See here how it works: http://forums.opendns.com/comments.php?DiscussionID=3635#Item_2
Don't forget to flush your browser cache and local DNS cache after each settings change.Thankful People: maintenance -
- CommentAuthormaintenance
- CommentTimeJul 2nd 2009
Ah, when you send that URL in the browser, you might get a message box with the notice that you are logging in as username, and an "OK" button (depends on browser).
It works for me, and I only got the message box the first time. Subsequent attempts simply yield "Good" and my current IP address on the page.
But if you look at your Dashboard, does it show the correct IP address? If so, your address is already in sync, and filtering should work. If filtering does not work, have you cleared browser (PC) and local resolver (PC & MicroTik) caches? -
"I only got the message box the first time. Subsequent attempts simply yield..."
Sure, browsers and Windows Explorer are clever enough to keep the credentials "in mind" (i.e. memory), until the next browser restart... -
- CommentAuthormaintenance
- CommentTimeJul 2nd 2009
Aye.
I were just trying to be descriptive, in case kahloudy was getting a modal dialogue box that was not on top for some reason.
Also, I probably would not have even bothered posting if I'd seen your post first. :^0 -
i change mikrotik again and now itried this
https://updates.opendns.com/nic/update?hostname=home
asking me user and password
then ansering me >>>> good 41.235.45.245
then? -
- CommentAuthorinfinity306
- CommentTimeJul 2nd 2009
bypassing the Block.opendns.com page while using Opendns is a violation of the Terms of Service..
http://forums.opendns.com/comments.php?DiscussionID=3860#Item_8Thankful People: rotblitz, Red Prince, joe262 -
Good point! I had overseen the domain name.
-
@khaloudy
"then?"
Then you have learned the basics you need to know to write your MikroTik auto script, if not already done anyway. If so, does it work now? -
- CommentAuthormaintenance
- CommentTimeJul 2nd 2009
@khaloudy
Is filtering working, or no?
If no, have you cleared browser and local resolver caches? -
not yet..
work mnual
or by software update
can talk to me in egy2007alex?
please do somthing for me
may be error in mikrotik
plz -
last answer from mikrotik is
mikrotik dosnot support https?
what that mean? -
- CommentAuthormaintenance
- CommentTimeJul 16th 2009
@ aglan2oo1
"mikrotik dosnot support https"
HTTPS is secure HTTP protocol. IP updates are sent to OpenDNS via HTTPS, so if the router does not support this, you will need to run the client software rather than using the router to update, it seems.
@ khaloudy
I missed your previous post entirely. I really have no other suggestions to offer, except that what aglan2oo1 mentions might be a problem for you as well.
1 to 17 of 17
This discussion has been inactive for longer than 30 days, and is thus closed.
