NS confusion

dnsdude

New member
Joined
Mar 25, 2010
Messages
1
Hello everyone. I'm a programmer and this is my first time running my own server. It's a colocation server and I bought the domain from yahoo. I just found out that I need to register a name server with yahoo so I did it few days ago. 2 days ago I got an email from yahoo that the name server is already registered. Then I replaced the default yahoo name server hostname(ns1.yahoo.com & ns2.yahoo.com) with the newly registered hostnames(ns1.mydomain.com & ns2.mydomain.com).

After that in the direct admin, I do..


mydomain.com. A 202.183.xxx.xxx
www.test A 202.183.xxx.xxx
test A 202.183.xxx.xxx
mail A 202.183.xxx.xxx
mail MX 10
localhost A 127.0.0.1
mydomain.com. TXT "v=spf1 a mx ip4:202.183.xxx.xxx ~all"


I tried surfing mydomain.com through the web browser on the same day and it didn't work. On the next day when I do 'mydomain.com', it works. When I do 'test.mydomain.com' it works. When I do 'www.test.mydomain.com' it works.

The problem is when I do 'www.mydomain.com' it does not work.
So I added this line yesterday => www A 202.183.xxx.xxx



1. Up until now 'www.mydomain.com' is not working. What could be the problem? From my understanding, 'www' is a subdomain right?
2. What is the need of adding NS in my directadmin DNS settings? What's the difference between NS in directadmin and NS in domain control panel?
3. Right now NS record in my directadmin is blank. I just deleted it because I thought it's not necessary since I assigned NS in my domain control panel. Could this be a problem?
4. When I create sub domain in directadmin like
test A 202.183.xxx.xxx
How does it actually trigger the DNS so that when I type 'test.mydomain.com', it exists on the Internet?

I'm pretty sure some of my questions may sound pretty noob but right now I'm learning and it seems like I get the idea but actually I don't. I need to understand the whole picture. Thanks in advance.

Andrew
 
Last edited:
Hi,

you need to add NS record for your domain, i mean

ns1 A IP
ns2 A IP
domain NS n1.domain
domain NS ns2.domain

another thing is.. give us the domain for investigations ;)

AND check your domain in www.intodns.com for see whats wrong with your dns
 
The problem is when I do 'www.mydomain.com' it does not work.
So I added this line yesterday => www A 202.183.xxx.xxx

If you add the domain properly using DirectAdmin the www record is added automatically.
 
@dnsdude:

If you want help rather than guesswork then you must tell us both your domain name and your IP#.

Does anyone remember the link I used to post? The one that made the issue clear but annoyed a lot of people :) ?

Jeff
 
Back
Top