Name Server

how can i point a domain name to an apache server

can i create a name server on mikrotik?

If you want it only for your own use, e.g. for clients in LAN who use your router as DNS resolver, look at “/ip dns static”. If you want it for public use, look elsewhere, RouterOS can’t help you.

Yer for public

Can mikrotik somehow do → dyn dns?

You will need a script.
This should do:
http://wiki.mikrotik.com/wiki/Dynamic_DNS_Update_Script_for_dynDNS

hmm thanks i will have a look into this

anyone else using this?

I guess I didn’t understand your original question correctly. If you’re in fact after dyndns, then easiest way is to use built-in IP->Cloud.

Thanks sob i had a quick look at built in cloud but fields are greyed out

My plan is if i can connect this in built cloud to point to a url

But my domain is on crazy domains and they requie a name server address

So im thinking i can point the in built cloud to my local apache server

And possibly host name servers on the apache server

While this is technically possible, DO NOT ATTEMPT to do this. Mikrotik DNS always acts a recursive resolver. This means if you open up the DNS to the world so it can be used as a name server, your network will be exploited by reflected DNS DDoS attacks. It also won’t have proper NS entries, so the DNS entry will be technically invalid.

How do i make my own name server then

How does apple google and amazon prevent this i wonder

I haven’t seen Cloud settings greyed out and I have no idea what could cause that. But it’s probably gonna be something simple.

Anyway, what is does it that it points hostname <unique_identifier>.sn.mynetname.net to public address used by your router. Which can mean two things. If you actually have this address on your router (or if it’s elsewhere and at least forwards needed ports to you), you’ll be able to use this hostname to access your router or devices behind it (if you forward ports to them). If you don’t have this address and no ports forwarded to you, then it’s useless.

For example, if you wanted to host http://www.yourdomain.tld on webserver behing your router with dynamic public address, you can use Cloud and then set http://www.yourdomain.tld to be CNAME pointing to <unique_identifier>.sn.mynetname.net.

I’m not exactly sure what you want to do with nameservers. You surely do need some, byt they are usually provided by domain registrar. You can also run your own, but neither RouterOS nor Apache server can help you with that.

Yes C name is one of the ways i can link it


Ill have a look into this c name more..