• Navigation
Results 1 to 11 of 11
  1. #1
    BG's most likeable Québécois
    Pens win! Pens Win!!! PENS WIN!!!!!

    Join Date
    Sep 2007
    Posts
    37,887
    BG Level
    10

    Need to create a DNS entry without prefix (windows 2008R2)

    Ok situation, new client their AD is exemple.local

    They have an external Website that another company is managing using exemple.com

    The website when you go to www.exemple.com redirects to exemple.com

    For a project I need to create an exemple.com DNS zone in AD, and due to that no one from inside the network can go to exemple.com (the website)

    Even if I create a A record for www.exemple.com or exemple.com with the good IP, it's impossible to go to the website from inside the network (but they can ping it)

    The issue is that when I create an A record without a prefix, windows doesn't seem to like it (it changes to Same as parent folder)

    Anyway to fix this?

  2. #2
    Sea Torques
    Join Date
    Oct 2006
    Posts
    705
    BG Level
    5
    FFXI Server
    Carbuncle

    If it's just http(s) traffic you're concerned about, you could setup IIS/apache on the internal exemple.com server to forward the traffic to ext-www.exemple.com which would need to be setup as an A record to the correct host ip.


    Although, I just looked at my setup and we've got the entry:

    (same as parent folder) || Host (A) || xxx.xxx.xxx.123 [IP of external web server]
    www || Host (A) || xxx.xxx.xxx.123 [Same IP as before]


    and it works properly. All traffic to ourdomain.com goes to the external web ip.

  3. #3
    Salvage Bans
    Join Date
    Mar 2008
    Posts
    853
    BG Level
    5
    FFXIV Character
    Niya Kouya
    FFXIV Server
    Odin

    Uh, and why exactly do you need the example.com dns zone in the first place?
    Some web servers (especially those that serve multiple sites/domains under the same public IP) don't like it when you address then without the proper domain and just throw errors.

    The issue is that when I create an A record without a prefix, windows doesn't seem to like it (it changes to Same as parent folder)
    Anyway to fix this?
    It's not that it "doesn't like it", that's supposed to happen. This can be used to just redirect some part of example.com internally without screwing up the whole zone or breaking website access.
    What we use all the time with internally hosted exchange servers:
    DNS zone autodiscover.example.com
    A-record, empty prefix, points to internal IP of exchange. Tada, Outlook works, and all other sub domains of example.com are still reachable.

  4. #4
    BG's most likeable Québécois
    Pens win! Pens Win!!! PENS WIN!!!!!

    Join Date
    Sep 2007
    Posts
    37,887
    BG Level
    10

    Need to create a DNS entry without prefix (windows 2008R2)

    Quote Originally Posted by Niya View Post
    Uh, and why exactly do you need the example.com dns zone in the first place?
    Some web servers (especially those that serve multiple sites/domains under the same public IP) don't like it when you address then without the proper domain and just throw errors.
    They have a software on their phone that they want to run from inside the network and outside the network without changing the config

    So when inside the ad domain would route address.exemple.com to the internal address and while outside the network it will use the wan address

  5. #5
    BG's most likeable Québécois
    Pens win! Pens Win!!! PENS WIN!!!!!

    Join Date
    Sep 2007
    Posts
    37,887
    BG Level
    10

    Quote Originally Posted by Bardicrune View Post
    If it's just http(s) traffic you're concerned about, you could setup IIS/apache on the internal exemple.com server to forward the traffic to ext-www.exemple.com which would need to be setup as an A record to the correct host ip.


    Although, I just looked at my setup and we've got the entry:

    (same as parent folder) || Host (A) || xxx.xxx.xxx.123 [IP of external web server]
    www || Host (A) || xxx.xxx.xxx.123 [Same IP as before]


    and it works properly. All traffic to ourdomain.com goes to the external web ip.
    When I does that it gives me a dns error

    Mmmm I'll try again


    Edit: Maybe I did an error the first time because now it works thanks

  6. #6
    Salvage Bans
    Join Date
    Mar 2008
    Posts
    853
    BG Level
    5
    FFXIV Character
    Niya Kouya
    FFXIV Server
    Odin

    So you basically just want to redirect a single subdomain internally? Like I said in my previous post, that can easily be done without all this website breaking.
    remove the example.com dns zone
    create a new one for address.example.com
    create an "empty" (same as parent) A-record that points to the internal IP
    ????
    profit

  7. #7
    BG's most likeable Québécois
    Pens win! Pens Win!!! PENS WIN!!!!!

    Join Date
    Sep 2007
    Posts
    37,887
    BG Level
    10

    Quote Originally Posted by Niya View Post
    So you basically just want to redirect a single subdomain internally? Like I said in my previous post, that can easily be done without all this website breaking.
    remove the example.com dns zone
    create a new one for address.example.com
    create an "empty" (same as parent) A-record that points to the internal IP
    ????
    profit
    I made it work, but I needed the new dans zone to point some a record internally and some of them externally

    Like I needed to point a.exemple.com and b.exemple.come to an internal server.

    But I needed the (prefixless) exemple.com to point extrernally.

    I had done this in the past with another client that needed 2 servers internally and 1 www. Externally. But this time the website didn't had the www. And when I added the prefixless exemple.com a record it didn't seem the work. But now I redid it and it worked np, maybe I had forgotten to to flush the Dns cache or w/e

  8. #8
    2600klub
    I donated 5 bucks and all I got was this shitty title from Zet

    Join Date
    Jun 2007
    Posts
    2,688
    BG Level
    7
    FFXI Server
    Ragnarok

    Jesus Christ Rata, it's "example"!

  9. #9
    BG's most likeable Québécois
    Pens win! Pens Win!!! PENS WIN!!!!!

    Join Date
    Sep 2007
    Posts
    37,887
    BG Level
    10

    But the domain is in French

  10. #10
    2600klub
    I donated 5 bucks and all I got was this shitty title from Zet

    Join Date
    Jun 2007
    Posts
    2,688
    BG Level
    7
    FFXI Server
    Ragnarok

    Fair enough.

  11. #11
    jponry
    Join Date
    Jul 2006
    Posts
    1,391
    BG Level
    6
    FFXI Server
    Phoenix

    how do you have an IT job