dynds outside and Inside

Hello
I have dyndns and all setup and working forvarding when im outside my network to get in via dyndns

But i have small question..
How to setup in mikrotik config, so i can use the same setup on my mobile phone when im in my local network

examp.. i have my network ip cam
when im out of my network i use http://xy.dyndns.tv:xy
when i am in my network that dont work, so i must use http://192.168.0.11:xy

Before i know for mikrotik products, i have Simens 555SE ADSL modem, and also use dyndns, and he have that config
So i have 1 adress in my phone in app, and camera is working in or out my network

Is that possible with mikrotik and some script or not ?
I use RB493AH and RB435G, mikrotik is calling via pppoe net conection, have dyndns working script and working all good
But that one problem is here.. I want to use one address connection, whether I am or am not in my network

but how?

You should take a look at Hairpin nat
http://wiki.mikrotik.com/wiki/Hairpin_NAT

http://forum.mikrotik.com/search.php?keywords=hairpin

Hairpin NAT will fix this, but you can also use a local DNS proxy since you’re using host names.

/ip dns
set allow-remote-requests=yes
static add address=192.168.0.11 name=xy.dyndns.tv

Then use the Mikrotik as your DNS server for your LAN.

Make sure that your firewall filter input chain doesn’t allow DNS requests to hit the Mikrotik from the WAN interface or else you’ll eventually be used in a DDoS attack, chewing up your bandwidth.