Community discussions

MikroTik App
 
gregclemmons
just joined
Topic Author
Posts: 19
Joined: Mon May 19, 2008 4:53 am

DNS download?

Fri Jul 18, 2008 5:11 am

Can I download stat dns entries form one router and copy the to another? if so how?
Gregclemmons
 
pedja
Long time Member
Long time Member
Posts: 684
Joined: Sat Feb 26, 2005 5:37 am

Re: DNS download?

Fri Jul 18, 2008 9:57 am

There is no need to do so, just set one router to be slave dNS to other one. It will gather any DNS info from his master.
 
User avatar
AigarsABCD
just joined
Posts: 16
Joined: Sun May 04, 2008 5:47 pm
Location: Latvia

Re: DNS download?

Fri Jul 18, 2008 5:14 pm

/ip dns static export
Then copy the code and paste it in the other router.

pedja> and how do you do that in RouterOS?
 
iam8up
Member
Member
Posts: 312
Joined: Sun Oct 28, 2007 10:58 pm
Location: Troy, OH
Contact:

Re: DNS download?

Fri Jul 18, 2008 7:01 pm

Router1: DNS server with static entries
Router2:
/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=10240KiB \
max-udp-packet-size=512 primary-dns=router.1.i.p secondary-dns=1.3.3.7

Set the clients to look at Router2 and if a client wants one of those static entries from Router1, Router2 will grab it from Router1 and cache it.
 
User avatar
AigarsABCD
just joined
Posts: 16
Joined: Sun May 04, 2008 5:47 pm
Location: Latvia

Re: DNS download?

Fri Jul 18, 2008 11:30 pm

But it is not a good idea because EVERY request will go through both routers (of course if not cached). It would be fine, if static entries change a lot, then you have to change only in router1, not both.
Anyway, gregclemmons asked just how to copy.
 
gregclemmons
just joined
Topic Author
Posts: 19
Joined: Mon May 19, 2008 4:53 am

Re: DNS download?

Sat Jul 19, 2008 3:03 am

Thnak you all!

I must get more into the terminal.. and not rely on winbox as much. I didn't relise export was available in terminal mode and not in winbox.

Thanks Again.

Who is online

Users browsing this forum: Bing [Bot], EvGn, Google [Bot], telepro and 63 guests