Solved

DNS record issue

Posted on 2011-03-23
6
337 Views
Last Modified: 2012-05-11
I am looking for some clarification on some DNS settings as I'm not a genius when it comes to this.

I'm specifically interested in what the @ record does and how it works.

Does this record supercede all records?

More specifically I have a site that I need to set an DNS entry in for both the www. and mail. settings.  there is an @ record for these DNS settings as well.  Each will go to a different server location and IP.

It seems that when I put a forward on for the www IP, it also affects the MX or mail. record as well.  It's the darndest thing in that when forwarding gets put on, the MX record remains the same in DNS and when pinged, but their mail goes somewhere else (don't know where).

I'm wondering if the @ record is somehow superceding the MX record and sending both?

Open for input.
0
Comment
Question by:creativenetworks
  • 4
  • 2
6 Comments
 
LVL 70

Expert Comment

by:Chris Dent
ID: 35201568
> I'm specifically interested in what the @ record does and how it works.

@ is the Origin, you can replace it with the zone name (most of the time).

That is, in the zone "bobsdomain.com" these two are the same:

@   IN A   1.2.3.4
bobsdomain.com.  IN A  1.2.3.4

Only most of the time because the Origin can be changed within a zone. Then @ takes the new value. It's more common on the BIND side than MS or hosted solutions.

> Does this record supercede all records?

No, it's just shorthand.

> I'm wondering if the @ record is somehow superceding the MX record and sending both?

No special behaviour associated with this label.

> It seems that when I put a forward on for the www IP

What do you mean by that because DNS doesn't do Forwarding? Is it an option in some GUI?

Some DNS hosts allow you to set Forwarding, and they place this within the DNS interface which may lead to the belief that what they do is within DNS itself.

Chris
0
 
LVL 70

Expert Comment

by:Chris Dent
ID: 35201652
> the MX record remains the same in DNS and when pinged

You can't ping an MX record. You can ping a name, and the name may have some relationship with the MX record, but it doesn't really mean anything.

Perhaps you could provide a sample of what you're seeing? Naturally you should feel free to obscure any sensitive information.

You can look up an MX record, like this:

nslookup -q=mx domain.com

And from that you can see where mail would be bound for "domain.com" if a mail server were to try and send in mail. It doesn't tell you about connectivity, or how successful a delivery attempt would be, only the advertised inbound mail service.

I do wonder if the Forwarding option is changing the other records, handing off control of the domain to some DNS host. I know ours, if I were to enable the forwarding option, would render the records I've defined useless. That's why I wonder what the forwarding option you're looking at is :)

Chris
0
 

Author Comment

by:creativenetworks
ID: 35204627
Chris-Dent:  >> What do you mean by that because DNS doesn't do Forwarding? Is it an option in some GUI?

Simple URL Forwarding setting from WebA.com to WebB.com in Go Daddy's Domain Manager.  Even after 24 hours the website would not forward.  Go Daddy support did not see anything unusual at their side.  And at the same time, we lost the incoming emails (from external people) on our Exchange Server. The @ record IP address would change as it does with any Forwarding I've done in the past.

We are hosting our own email on Exchange server within our company.

Chris-Dent: >> And from that you can see where mail would be bound for "domain.com" if a mail server were to try and send in mail. It doesn't tell you about connectivity, or how successful a delivery attempt would be, only the advertised inbound mail service.

When doing nslookup, the primary name server is "ns33.domain1.com"; responsible mail addr is "dns.webc.net" for instance.

Chris-Dent: >> I do wonder if the Forwarding option is changing the other records, handing off control of the domain to some DNS host. I know ours, if I were to enable the forwarding option, would render the records I've defined useless. That's why I wonder what the forwarding option you're looking at is :)

We will have to do this again over the weekend to check if other records "A" or "MX" for instance are changing as well as the main @ record by just setting the URL Forwarding.

It makes me wonder if the company where the website is truly "hosted" at has a setting that needs to be changed.  One thing the Go Daddy tech said that the website we have live is on a Windows web server.  So that may make a difference in making a change to the record on the hosting company server.
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 70

Expert Comment

by:Chris Dent
ID: 35205530

> One thing the Go Daddy tech said that the website we have live is on a Windows web server.  So that may make a difference in making a
> change to the record on the hosting company server.

Shouldn't have any effect really.

I suspect the web forwarding option is wiping out some of the other entries. If that is the case you have a few choices:

1. Reconfigure the web server to accept traffic on http://www.yournewdomain.com and http://yournewdomain.com

If your current solution is based in a shared hosting environment this means a modification on the web server so it knows what to do when it is presented with a request for yournewdomain.com.

2. Forward via a third-party

Forwarding via a third-party means you would have to run, or find someone to run, yet another web server. Then you have that web server forward on the request.

It's important to realise that forwarding is a web server operation, not a DNS operation. Them exposing a setting like that means they're taking over your www and @ records (should be A records only, not MX, although it's not uncommon for them to take everything), pointing things to their own web server, and having that forward for you.

Chris
0
 

Author Comment

by:creativenetworks
ID: 35223542
Here's what I'm dealing with.

I have two url's d1.com and d2.com.  d1.com point to the live/correct site.  d2 uses the URL where their mail is held.  I need @ and www on d2 to point to d1 and need the mx to point to a 3rd server.

is this even possible?

I am forwading d2 to d1 and have an MX and cname record for the mail server but it doesn't seem to be working.

Any help would be greatly appreciated
0
 
LVL 70

Accepted Solution

by:
Chris Dent earned 500 total points
ID: 35230456
Sure, that's fine. We might have:
@ IN A  1.2.3.4
@ IN MX 10 mail

www  IN CNAME @
mail IN A  1.2.3.5

Open in new window

In our example, @ can be replaced with "d2.com.".

Here we're saying that clients asking for d2.com, or www.d2.com will get 1.2.3.4 (which should be the IP for d1). And anyone wanting to deliver mail will be instructed to use mail.d2.com, ending up with 1.2.3.5 (which should be your third server).

So far so good. Now we only have to deal with the term "Forward". You don't get forwarding, this is important if you expect this to happen:

1. User types www.d2.com into the address bar in IE
2. URL is changed to www.d1.com
3. Content comes from 1.2.3.4 (d1 IP) using the name www.d1.com

Instead, what will happen is this:

1. User types www.d2.com into the address bar in IE
2. Content comes from 1.2.3.4 (d1 IP) using the name www.d2.com

This is intended to highlight the importance of the web server. It must be willing to respond as www.d2.com. If it does not, or can not, you'll have to find another web server that can, and forward or redirect from there.

Does that make sense?

Cheers,

Chris
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SBS 2008 DC DIAG Missing AAAA record at DNS server : 5 44
forwarding dns requests 7 37
active directory 3 39
Creating a reverse DNS record 3 53
This article is intended as an extension of a blog on Aging and Scavenging by the MS Enterprise Networking Team. In brief, Scavenging is used as follows: Each record in a zone which has been dynamically registered with an MS DNS Server will have…
I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now