LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-11-2013, 01:02 PM   #1
mlewis
Member
 
Registered: Mar 2006
Posts: 173

Rep: Reputation: 16
DNS problem with standard and wildcard record


I have a domain which I run two LAMP servers for.

One is a standard www.mydomain.com server and the other is
a *.mydomain.com server.

I have two local DNS servers and two public DNS servers.
Both are configured the same way other than the public/private IP's of course.
Here is a snip of what part of it looks like.

A x.x.x.x
$ORIGIN mydomain.com.
ns1.mydomain.com. A x.x.x.x
ns2.mydomain.com. A x.x.x.x
mail.mydomain.com. A x.x.x.x
*.mydomain.com. A x.x.x.x
www.mydomain.com. A x.x.x.x

Internally, everything works as it should. When we enter www.mydomain.com, we get the server we are supposed to. When we enter something.mydomain.com, we get what we are supposed to. This confirms to me that the LAMP server and application are configured correctly since they are responding.

However, from the public, testing from some remote DNS test services, if we enter www.mydomain.com or mydomain.com, both lead to the www.mydomain.com server.

And if we enter one of the wildcard domains, say server1.mydomain.com, the tests always fail.

"Nameservers listed at parent: No nameservers found at parent nameserver. Fail"

This happens with or without an A record for the mydomain.com pointing to the wildcard LAMP server.

I'm at a loss and searching is finding nothing so thought I would ask here.

Thanks.
 
Old 01-11-2013, 02:03 PM   #2
mlewis
Member
 
Registered: Mar 2006
Posts: 173

Original Poster
Rep: Reputation: 16
Aw gee... it dawns on me why I get this result and it's normal.
The sub-domain names I am looking for don't actually exist as sub-domain names in DNS, they only exist in the application. Doing a sub-domain test fails because no such domain exist but if I connect from a remote location into my sub-domain server, everything works as it should when using sub-domains.

Doh.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS wildcard help conflicker Linux - Newbie 3 02-07-2012 11:56 AM
dns record problem !!! alex2002 Linux - Server 3 05-18-2009 08:26 AM
DNS MX record problem foramgoram Linux - Networking 2 07-12-2008 11:55 PM
DNS problem and MX record unkn0wn Linux - Networking 2 09-10-2007 07:53 PM
problem with one dns reverse zone record rsmccain Linux - Networking 2 10-07-2006 09:17 AM


All times are GMT -5. The time now is 01:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration