Community discussions

MikroTik App
 
szuwar
just joined
Topic Author
Posts: 16
Joined: Mon Aug 08, 2011 11:35 am

default search domain name

Thu Dec 08, 2011 10:46 am

Is there possibility to set the default search domain name just like 'domain' statement in resolv.conf in *nix systems?
 
User avatar
ojsa
Member Candidate
Member Candidate
Posts: 181
Joined: Tue Jan 27, 2009 8:53 pm
Location: Norway

Re: default search domain name

Thu Dec 08, 2011 11:05 pm

on the main routerboard, i don't think so, but the dhcp server could send this information to clients.
 
szuwar
just joined
Topic Author
Posts: 16
Joined: Mon Aug 08, 2011 11:35 am

Re: default search domain name

Fri Dec 09, 2011 7:53 am

it could be useful to be able to set this information 'by hand' since its not common to configure core routers to receive their addresses via dhcp
 
eos
just joined
Posts: 4
Joined: Tue May 08, 2018 4:19 pm

Re: default search domain name

Fri Sep 21, 2018 5:35 pm

I want to add my voice to the one of szuwar, even thought it's been a long time since his request.
Working on command line on local Mikrotik router, every time you need to specify a machine by name youd have to write, for example:
ping <machine-name>.<localdomain name>
even if it is on the same subnet of the router. On every *nix machine, from more than fifty years, there is an option to set the "default domain" do add to dns queries when not specified on command line, so you can write only:
ping <machine-name>
Even Windows has such an option, DNS connection suffix, that you can manually insert and, as szuwar noted, no one configure routers to receive their address via dhcp: it's mostly the router that distributes ip addresses via DHCP.
Could we make this an option request for future releases?
 
dbelliveau
just joined
Posts: 4
Joined: Mon Oct 11, 2021 11:35 pm

Re: default search domain name

Mon Feb 07, 2022 12:55 am

++1

Who is online

Users browsing this forum: Bing [Bot] and 127 guests