Community discussions

MikroTik App
 
User avatar
arbabnazar
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 70
Joined: Tue May 03, 2011 1:37 pm

strange dns problem with mikrotik

Mon Jan 30, 2012 2:24 pm

Here is my simple network scenario, in which mikrotik is everything(firewall,dhcp,dns etc).

Image

Here is my Mikrotik simple configuration that is concern with this problem!

Image

Here is the network setting on my host machine.

Image

I am able to ping/access the hosts on LAN by their ip but i can't be able to access them or ping them by using hostname. I am able to ping to host by using its hostname from mikrotik server but not from other hosts :(

please have a look on above scenario and tell me where i am making a mistake?

thanks in advance
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: strange dns problem with mikrotik

Mon Jan 30, 2012 5:10 pm

Hi,

My idea:
try to copy paste this in your "Mikrotik DNS server"
ip dns set allow-remote-requests=yes
 
User avatar
arbabnazar
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 70
Joined: Tue May 03, 2011 1:37 pm

Re: strange dns problem with mikrotik

Mon Jan 30, 2012 5:24 pm

I did this but it didn't help.

I can ping to my local ip, i can ping to external ip (e.g 4.2.2.2, 8.8.8.8 etc), i can ping to any domain like www.google.com, www.yahoo.com etc but i can't ping to my local host with its hostname, like srv, ubuntu etc but i can ping them by their ip address.

any idea...

thanks
 
User avatar
arbabnazar
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 70
Joined: Tue May 03, 2011 1:37 pm

Re: strange dns problem with mikrotik

Tue Jan 31, 2012 6:19 pm

I am able to solve this problem and here is what i did.

*I simply install the samba on ubuntu server using (sudo apt-get install samba smbfs), by doing this, i am able to ping ubuntu server from my windows host.

* To ping my windows host from ubuntu server, i simply install winbind by using (sudo apt-get install winbind) and after that i am able to ping all of my windows clients from ubuntu server.

I hope this will help the other, who faced the same/similar problem.

thanks