Page 1 of 1

strange dns problem with mikrotik

Posted: Mon Jan 30, 2012 2:24 pm
by arbabnazar
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

Re: strange dns problem with mikrotik

Posted: Mon Jan 30, 2012 5:10 pm
by Ibersystems
Hi,

My idea:
try to copy paste this in your "Mikrotik DNS server"
ip dns set allow-remote-requests=yes

Re: strange dns problem with mikrotik

Posted: Mon Jan 30, 2012 5:24 pm
by arbabnazar
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

Re: strange dns problem with mikrotik

Posted: Tue Jan 31, 2012 6:19 pm
by arbabnazar
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