Find the answer to your Linux question:
Results 1 to 6 of 6
Hello. I have a couple of questions regarding the DNS servers. What I intend to do for some time now is to get a dedicated DNS server. Install all the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2012
    Posts
    3

    DNS Servers


    Hello.

    I have a couple of questions regarding the DNS servers.

    What I intend to do for some time now is to get a dedicated DNS server. Install all the needed applications and software to do so. I am planning on using BIND.

    However, my qeustion is how do I proceed with setting the things up. The point of this is to hide the IPs of my webserver, a sort of filtering will be done there. I basically want when a domain lookup is made, to show the IPs of the DNS server, not the webserver. How can this be done most efficiently?

    Regards.

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Hello and Welcome!

    I've never setup a DNS server, but maybe this will help: Linux DNS server BIND configuration
    It might answer some of your questions until someone more experienced comes along.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,391
    (One of) The purpose(s) of dns is to translate between hostnames and IPs.

    Server/computer find each other via IPs and routing.
    So I do not quite understand, why you want to hide your webservers IP.

    Additionally:
    One can run webservers on private IPs, but you would still need a service such as a proxy or loadbalancer with a public IP to forward requests.

    Can you maybe clarify what you want to achieve with IP hiding?
    You must always face the curtain with a bow.

  4. #4
    Just Joined!
    Join Date
    Feb 2012
    Posts
    3
    Quote Originally Posted by Irithori View Post
    (One of) The purpose(s) of dns is to translate between hostnames and IPs.

    Server/computer find each other via IPs and routing.
    So I do not quite understand, why you want to hide your webservers IP.

    Additionally:
    One can run webservers on private IPs, but you would still need a service such as a proxy or loadbalancer with a public IP to forward requests.

    Can you maybe clarify what you want to achieve with IP hiding?
    Sure.

    I would like to build the following infrastructure:
    reqeust - > dns server -> forwarded to firewall server -> forwarded to webserver

    The thing I would like to do is keep the webserver's IP private and the firwall and dns server IPs public.

    Something like cloudflare if you have ever used it - when using their DNS services, the real webserevr IP is hidden from the public.

  5. #5
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    If you have a firewall, with a private network behind it, all you need is for
    DNS to give the IP address of the firewall. If the real server is behind a NAT
    router, just port forward to the private address of the server.

  6. #6
    Just Joined!
    Join Date
    Feb 2012
    Posts
    3
    Quote Originally Posted by rcgreen View Post
    If you have a firewall, with a private network behind it, all you need is for
    DNS to give the IP address of the firewall. If the real server is behind a NAT
    router, just port forward to the private address of the server.
    Nah, there is no private network behind it. Everything would be made on a public network.

    I already got the prototype and the idea ready, however I thought that someone has developed somethign similar to this and can give me a suggestion to optimise and make it more efficient, as the way I am working on would be be really efficient and might not work up well.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •