This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

strangely local dns just works?

i have no problem with this happening, i just want to figure out why it happens.

i have a static ip and a domain name pointing to that. my static ip happens to be my external network on my ASL, now i have a webserver in a DMZ network and a local network too. now usually id have to run a internal dns server so that my local network can resolve my domain name to my web servers dmz ip rather then its external ip.

but with ASL i just tryed it and it works with no internal dns server. now i can ping my domain name and it resolves to my external ip yet when i access my domain name i get my box on my dmz, this is awesome as i dont now have to setup bind on my linux box.

but im interested in how this actually happens as i have no idea now? do any of you maybe have an explanation for me?


This thread was automatically locked due to age.
Parents
  • Hmm, not sure where all the wonder is, but let me try .. so your settings are such that you

    * use Astaro for dns proxy at least in local lan
    * host the dns of the webserver so that your Astaro dns proxy knows it
    * have a DNAT setting to forward queries to your webserver (ext ip to internal ip)

    Okay, when you ask for your webservers name address, Astaro first translates it to the IP address and then makes the query to the IP (which happens to be your ext interface). Then Astaro makes DNAT and thus your internal IP will be queried.

    Nothing special here, but does this make sense?
Reply
  • Hmm, not sure where all the wonder is, but let me try .. so your settings are such that you

    * use Astaro for dns proxy at least in local lan
    * host the dns of the webserver so that your Astaro dns proxy knows it
    * have a DNAT setting to forward queries to your webserver (ext ip to internal ip)

    Okay, when you ask for your webservers name address, Astaro first translates it to the IP address and then makes the query to the IP (which happens to be your ext interface). Then Astaro makes DNAT and thus your internal IP will be queried.

    Nothing special here, but does this make sense?
Children