Community discussions

MikroTik App
 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

setting up DNS

Thu Dec 24, 2009 1:33 pm

In /ip dns

I have the fallowing setting:

allow-remote-requests: no
max-udp-packet-size: 512
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 201KiB

what each one of those mean and what I should I st it on?

Note: I have 10mbps ADSL internet service.
 
User avatar
DannyZ
Member Candidate
Member Candidate
Posts: 230
Joined: Mon Sep 07, 2009 2:21 pm
Location: Latvia

Re: setting up DNS

Thu Dec 24, 2009 1:42 pm

If u wanna setup dns i think its not right place to do that. look at IP>DHCP server>networks>dns server.
 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

Re: setting up DNS

Thu Dec 24, 2009 1:58 pm

If u wanna setup dns i think its not right place to do that. look at IP>DHCP server>networks>dns server.
what is the diffrence between those 2
 
JJOliver998
Frequent Visitor
Frequent Visitor
Posts: 85
Joined: Wed May 13, 2009 11:48 am

Re: setting up DNS

Thu Dec 24, 2009 2:24 pm

DHCP server is a server that assigns IP addresses and correct routing information to each user on the network (assuming they are set to obtain information from a DHCP server).

Unless the devices on your network connect to the MT DHCP server they won't get the correct information to enable them to communicate with the internet.

For example if the MT routerboard/os is set to act as a DHCP server you will need to manually input routing information, including DNS servers into the MT itself. Additionally If you want the to manually assign network information on each network device then you'll need the MT to have a route for DNS information.

I.e. if you want to use DHCP server you should also put DNS information in under IP / DNS.
I.e. if you don't want to use DHCP server you ONLY need to put DNS information under IP / DNS.

It may be worth reading up on what a DHCP server does and what DNS is, as this may help you understand the problem.

http://wiki.mikrotik.com/wiki/DHCP_Server
http://wiki.mikrotik.com/wiki/DNS

Josh (who is full of festive cheer!)
 
namo
Long time Member
Long time Member
Topic Author
Posts: 530
Joined: Sat Oct 03, 2009 4:44 pm

Re: setting up DNS

Fri Dec 25, 2009 12:25 pm

DHCP server is a server that assigns IP addresses and correct routing information to each user on the network (assuming they are set to obtain information from a DHCP server).

Unless the devices on your network connect to the MT DHCP server they won't get the correct information to enable them to communicate with the internet.

For example if the MT routerboard/os is set to act as a DHCP server you will need to manually input routing information, including DNS servers into the MT itself. Additionally If you want the to manually assign network information on each network device then you'll need the MT to have a route for DNS information.

I.e. if you want to use DHCP server you should also put DNS information in under IP / DNS.
I.e. if you don't want to use DHCP server you ONLY need to put DNS information under IP / DNS.

It may be worth reading up on what a DHCP server does and what DNS is, as this may help you understand the problem.

http://wiki.mikrotik.com/wiki/DHCP_Server
http://wiki.mikrotik.com/wiki/DNS

Josh (who is full of festive cheer!)
thank you. I am only asking if the DNS you fill in IP--> DHCP server is the same as DNS you fill in IP-->DNS
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: setting up DNS

Fri Dec 25, 2009 1:13 pm

If you set up "/ip dns" first, then when you use "/ip dhcp-server setup", the default option will have those ips by default.