DNS lookup issue

mrcoolgli

New member
Joined
Aug 5, 2008
Messages
2
I need the following to resolve to my customers domain. http://customerdomain.com

Anything else works.. 123.customerdomain.com sdkffl.customerdomain.com I can't get just leaving any prefix off to resolve.. Ideas? Am I missing something simple?

Here is my current zone file:

@ IN SOA ns1.hostdomain.com. hostmaster.customerdomain.com. (
2009060202
14400
3600
1209600
86400 )

customerdomain.com. 14400 IN NS ns1.hostdomain.com.
customerdomain.com. 14400 IN NS ns2.hostdomain.com.

* 14400 IN A 192.192.192.192
*.customerdomain.com 14400 IN A 192.192.192.192
localhost 14400 IN A 127.0.0.1
www 14400 IN A 192.192.192.192
 
You are missing the "customerdomain.com." record or "" record.

Choices:
Code:
customerdomain.com. 14400 IN A 192.192.192.192
 14400 IN A 192.192.192.192 ;note that there is a space at the beginning
You can't use a CNAME record because it is exclusive and there already are three other records: an SOA (yes, "@" is considered as "") and two NS.
 
*.customerdomain.com 14400 IN A 192.192.192.192

Also there is no . after customerdomain.com so essentially what you have is
*.customerdomain.com.customerdomain.com
 
customerdomain.com has always resolved. 192.192.192.192 is owned by a company in Taiwan. It does NOT resolve. customerdomain.com does NOT point to 192.192.192.192. It points to 63.119.44.197.

mrcoolgli,

Check to make sure that your upstream has enabled 192.192.192.192 to your server, and that you change customerdomain.com at your registrar (domaindiscover.com) to point to your nameservers.

If for some reason I'm wrong, then please read this before you reply.

Jeff
 
You can't use a CNAME record because it is exclusive and there already are three other records: an SOA (yes, "@" is considered as "") and two NS.
I hope you don't mind me amplifying a bit on your response. Lots of people don't understand the shortcuts involved in creating a zonefile:

In a BIND zonefile, the @ symbol refers to the specific domain name mentioned in the named.conf file which points to the specific zonefile containing the @. It's main purpose is to make it easy to use a single zonefile to serve multiple domains.

For example: you have a few hundred or a few thousand domains for sale. They all point to the same site where some php code pulls the domain name out of the headers and tells your visitors how to buy the domain.

You need one line for each domain in the named.conf file, but they can all point to one zone file, because the domain name never appears in the zonefile; it's represented by the @ symbol.

And a blank entry on the left side (tillo refers to it as "") simply means whatever is in the first line directly above which isn't a blank entry.

A combination of the two allows you to use one zonefile for hundreds or thousands of domains.

Jeff
 
Jeff you are supposed to insert in the post an image with a sign stating "Sarcasm'" when posting like this (#4). :D :D

I normally carry a sign with me to hold up.
 
Last edited:
Jeff you are supposed to insert in the post an image with a sign stating "Sarcasm'" when posting like this (#4). :D :D

I normally carry a sign with me to hold up.
Of course, Floyd. But if I'd done that I couldn't have sent him my next reply; after he wrote back I would have charged him my minimum fee for wasting my time :D.

Jeff
 
Back
Top