Community discussions

MikroTik App
 
ashisheitl
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Fri Dec 01, 2006 10:33 am

DNS Configuration In MT 2.9.29

Fri Dec 01, 2006 10:45 am

HI,

I am using MT 2.9.29 and want to create DNS server in that for internal cashing for my network.

Can someone explain me the steps for the same. and also let me know that i can put the same IP address to my machine as a primary DNS server.
 
valens
Trainer
Trainer
Posts: 244
Joined: Tue Jun 01, 2004 5:42 pm
Location: INDONESIA
Contact:

Fri Dec 01, 2006 10:48 am

What's the problem?
You can just set it...

primary-dns: 202.xxx.xxx.21
secondary-dns: 202.xxx.xxx.22
allow-remote-requests: yes
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 20KiB

And yes, you add also static IP for DNS server
 
ashisheitl
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Fri Dec 01, 2006 10:33 am

Fri Dec 01, 2006 11:05 am

Hi,
Now i will explain u the senario.

I have MT 2.9.29 with 3 ether port

I have configure E2 for my office Netw9rk with 192.168.1.1/24.

My original DNS is 59.XXX.XXX.3.
Now i want the MT as a primary DNS and my original as a Secondary DNS. What i have to do for that.

I can put 192.168.1.1 as a primary DNS in MT and Original as asecondary.
I need internal cashing in MT.

Pl tell me what to do
What's the problem?
You can just set it...

primary-dns: 202.xxx.xxx.21
secondary-dns: 202.xxx.xxx.22
allow-remote-requests: yes
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 20KiB

And yes, you add also static IP for DNS server
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 27066
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Fri Dec 01, 2006 11:06 am

MT can not be a DNS server, it can only redirect DNS requests to somewhere else. It can also be a DNS cache, but not a DNS server.
 
ashisheitl
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Fri Dec 01, 2006 10:33 am

Fri Dec 01, 2006 11:08 am

So now what to do internal Cashing.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 27066
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Fri Dec 01, 2006 11:09 am

http://www.mikrotik.com/docs/ros/2.9/ip/dnscache

Simply set the client's DNS to the address of your router and tell the router where a real DNS server is located (as valens suggested)
 
ashisheitl
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Fri Dec 01, 2006 10:33 am

Fri Dec 01, 2006 1:33 pm

Thanks..Its working