SBS 2003 - Required DNS Records?


Recommended Posts

Hello,

Im trying to setup a test version of SBS 2003 R2, using VMware Workstation 7 (Windows 7 x64 is the host).

I have gone through the install fine, i then went on to using the configuartion wizards to set up email, VPN and RWW. In the connect to internet and email wizard, i created the web server certificate as: servername.domain.co.uk

I have set up appropiate port forwarding rules in my router (Netgear DG834PN).

I set up the SBS VM with the, say, domain.local. The domain that i want to use with this (for email, VPN and RWW) is domain.co.uk. On the host where domain.co.uk is hosted, i have setup the following DNS records (see attached).

First of all, do these look correct? Do i need any more?

Can someone explain, the @ in the MX record (and the @ in the A record)? Further, i do not see understand if i have to have my mail.domain.co.uk match my servername.domain.co.uk - does that make sense?

Sorry for the confusing question, please ask anything that i didnt make clear.

Cheers

post-225317-1259089090_thumb.png

Link to comment
https://www.neowin.net/forum/topic/848850-sbs-2003-required-dns-records/
Share on other sites

The broken english is a little hard to understand when asking a question. I will answer to the best of my understanding the way the questions were asked.

Everything looks fine with your DNS, you don't need any more entries. VPN, mail, and webmail are all going to go through your mail.x.x.

MX record = Mail eXchange, this is how the internet knows where to route mail. The MX record has to point to an A record. The @ is your main domain ip address, if you just type in domain.co.uk it will direct to that IP Address.

"Further, i do not see understand if i have to have my mail.domain.co.uk match my servername.domain.co.uk - does that make sense?" <---- I don't really understand this question but will give it my best, The A record is just a friendly name on the internet, it has absolutly nothing to do with your internal naming conventions. In otherwords, it does not have to match your computer name as it doesn't resolve to an internal address, it resolves to your external address (external to your network or vmware network).

Hi,

Thanks for the reply (and appologies for the confusion in my question). The problem is i was just not sure what was wrong!

I understand the DNS record setup now (i think!). What i was trying to ask was whether in the SBS CEICW, where you create the webserver certificate and have to supply the FQDN of the server, does this (say servername.domain.co.uk) have to match what you have setup the MX record as. I now undertsand that the FQDN that you set in the CEICW is kinda arbitrary, because as long as you setup a matching A record in the DNS then it will all be fine to access RWW etc (so you can then have a separate MX record, say mail.domain.co.uk for mail - as long as that also has a matching A record to the external IP).

I have attached a screenshot of my new DNS records for clarity (78.xxx.xxx.xxx is the external IP of the router. 195.xxx.xxx.xxx is the IP used for web hosting - which is unrelated to any of this)

Now the problem... When i type: https://portal.domain.co.uk/remote all i get is a Server Not Responding page. I have setup the port forwarding correctly (i believe), as when i try to reach this address, i then see a log entry in the router control panel along the line of:

Wed, 2009-11-25 19:55:34 - TCP Packet - Source:192.168.0.2,63874 Destination:78.***.***.***,443 - [HTTPS rule match]

So the DNS is obviously routing correctly. Ive confirmed the internal IP of the server (192.168.0.10) is set, and this matches the port forwarding rules. Ive disabled the firewall on the Windows 7 host, and the SBS 2003 guest doesnt have a firewall becuase it only has one NIC (?). So why doesnt it work?!

Once again, sorry for the long windedness and any confusion i am / have caused!

post-225317-1259179574_thumb.png

You will need to have your certificate reflect the outside fqdn. If you want you can have the inside fqdn so you don't get the certificate errors on the inside of the network, completely up to you in this regard if only a select amout of users are going to be accessing it from the inside.

If you are trying to access the server from the inside (behind the firewall) with the outside address (trying to go out the in or in the out, however way you want to see it), your router is going to have an issue with that. It drops the packet. Easiest way is to make a dns forward entry for domain.co.uk and an A record under that for portal pointing to the internal ip address.

Thanks for the reply.

I appreciate what you say about trying to access the VM inside the router (loopback?) Anyways, i tried on a couple of other computers (not behind the router) and the request still times out... yet i still get the requests logged in the router? For example:

Thu, 2009-11-26 22:50:06 - TCP Packet - Source:87.127.***.***,52785 Destination:78.***.***.***,443 - [HTTPS rule match] - source is not inside the network!

My port forwarding rules are correct, and the 192.168.0.10 that they forward to (the server) is the IP of the server - what am i missing?!

It has to be outside the inside interface of the router. In other words on the public ip segment. If you want it to answer behind the router, any pc behind the router not just behind the vmware server virtual ip range, you would have to put it in the internal DNS server.

I am attaching a very crude drawing but this is basically what you are trying to accomplish, and it is failing on coming back into the router.

post-118098-1259288857_thumb.jpg

Edited by sc302

Hey

I really appreciate all the help but I finally managed to crack it! I was going crazy because I knew my port forwarding rules were set up correctly, so I simply went to a previous snap shot of the SBS VM (before I ran CEICW) and ran it once more and suddenly every thing worked! Looks like rerunning the wizard over and over isn't the thing to do!

On a side note, just curious about how I would go

about setting up some dns so users could type:

owa.domain.co.uk and being sent to portal.domain.co.uk/reomote

rww.domain.co.uk and being sent to portal.domain.co.uk/exchange

Can this be done? Does it require CNAMEs?

Thanks again for all your help. Much appreciated.

I am assuming that you have an internal dns server (if you are using AD you have to), Put in another forward zone matching your external domain name, then put in an a record for portal, owa, and rww. it is not going to default to the subdirectory exchange or remote. you could put in a webpage at portal that has the links pointing to exchange or remote. You can have the default web page automatically point to one or the other when the page is hit, but that is about it.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I totally disagree. Very little good comes out of governments all around the world manipulating everything they can and usually the people are not the benefactors. What you say about being restricted and expensive sounds almost like the arguments against firearms and why banning them will protect people as if making something illegal somehow will prevent the criminals from having and using them. AI being far less mainstream could simply mean the average person will not benefit, but "big brother" and the corporations will benefit, which is almost for sure NOT a good thing.
    • I do apologize to the author Mr. Sen for my rude comment, questioning his knowledge of the subject. It is I whom lacked knowledge of the subject. Sorry!
    • Hello All Have a MSI Pro B650 VC Wifi Rev 1.0 motherboard Ryzen 7 7700X Radeon 7800XT OC 16GB 32GB Teamgroup DDR 5 5600mhz Samsung 990 Pro 1TB Boot NVMe Samsung 990 Pro 2TB Game NVMe Lian Li Lancool Black ARGB 216 Case Seasonic Focus GX 750 Watt Power supply   Wondering today what is best spot to plug in the following items on system for performance and not bottle neck anything if i can help it Creative Pebble Pro USB C or A Speakers, ((Powered by External USB C to C PD Adapter)  Logitech G513 USB Gaming Keyboard Logitech G502X Wired Gaming Mouse Cyberpower UPS USB Cable for UPS Power Management/System shutdown External drives connected occasionally are as follows---WD My Book 8TB (primary backup drive)   Seagate 8TB in External USB 3.0 Enclosure,  Seagate Portable 1TB USB 3.0 drive,   WD My Passport (Blue) 2TB, and WD My Passport (Red) 2TB,    WD Elements 500GB USB 2.0 External (Oldest one, Christmas 2003)       **Do have a 7 Port Powered  USB Hub as well, but when i use that--that leaves only the USB Flash spot for something to directly connect to system if needed.    Rear USB C 2x2 unused right now as moved the Creative speakers off it to USB A port next to it, with a USB C to A Cable, as figured speakers didn't near audio from USB C port and tie up the high speed port**   Front Ports trying to limit use of, so i don't have Front I/O port go bad again, already had it replaced once by Lian Li support all the way from Taiwan over night ((Do get extra nervous at times on things,  so i might just be extra nervous for nothing lol))
    • "connect with audiences" is the most obvious corporate speak you can think of. I only bought Need for Speed from EA because it was the only racing game with cops in existence and I dig that. Now that they killed off NFS franchise, I have nothing to spend money on. EA is officially dead for me, just like Ubisoft which I've been boycotting for some 20 years now...
  • Recent Achievements

    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      497
    2. 2
      +Edouard
      202
    3. 3
      PsYcHoKiLLa
      127
    4. 4
      Steven P.
      82
    5. 5
      ATLien_0
      77
  • Tell a friend

    Love Neowin? Tell a friend!