Home > DNS > DNS Setup ( need clarification )

DNS Setup ( need clarification )



A few days ago, i bought a domain "example.net"



Please note i have 2 ips in my server but i am using 1 ip to make this 2 nameservers



I add my nameservers as at :



ns1.example.net ---> 203.xxx.xxx.xxx

ns2.example.net ---> 203.xxx.xxx.xxx



Also i added the example.net as well with A records + the 2 nameservers



I waited for about 6hrs to see whether it make changes to 203.xxx.xxx.xxx . But unfortunately it doesnt. When i view that website it show me the mydomain web.



Now when i view it, i type http://example.net nothing show up blank page. But when i do a example.net without the http

it show me my Zone file what does that mean?



I have setup my Zone file , Reverse file and Named.conf.



Please take a look at this files and spot my mistakes. Thanks



When everything was done.I did



killall -KILL named

service named status

rndc reload



number of zones: 4

debug level: 0

xfers running: 0

xfers deferred: 0

soa queries in progress: 0

query logging is ON

server is up and running



My /var/log/messages



Quote:
Oct 24 01:29:48 hostname named[6597]: starting BIND 9.2.4 -u named

Oct 24 01:29:48 hostname named[6597]: using 1 CPU

Oct 24 01:29:48 hostname named[6597]: loading configuration from '/etc/named.conf'

Oct 24 01:29:48 hostname named[6597]: listening on IPv4 interface lo, 127.0.0.1#53

Oct 24 01:29:48 hostname named[6597]: listening on IPv4 interface eth0, xxx.xxx.xxx.42#53

Oct 24 01:29:48 hostname named[6597]: listening on IPv4 interface eth0:0, xxx.xxx.xxx.43#53

Oct 24 01:29:48 hostname named[6597]: command channel listening on 127.0.0.1#953

Oct 24 01:29:48 hostname named[6597]: command channel listening on ::1#953

Oct 24 01:29:48 hostname named[6597]: logging channel 'query_log' file 'query.log': permission denied

Oct 24 01:29:48 hostname named[6597]: logging channel 'activity_log' file 'activity.log': permission denied

Oct 24 01:29:48 hostname named[6597]: isc_log_open 'activity.log' failed: permission denied

Oct 24 01:29:48 hostname named: named startup succeeded

Oct 24 01:29:53 hostname named[6597]: isc_log_open 'activity.log' failed: permission denied

    
Guest


Quote:
Originally Posted by Drexxor
A few days ago, i bought a domain "example.net"



Please note i have 2 ips in my server but i am using 1 ip to make this 2 nameservers



I add my nameservers as at :



ns1.example.net ---> 203.xxx.xxx.xxx

ns2.example.net ---> 203.xxx.xxx.xxx



Also i added the example.net as well with A records + the 2 nameservers



I waited for about 6hrs to see whether it make changes to 203.xxx.xxx.xxx . But unfortunately it doesnt. When i view that website it show me the mydomain web.



Now when i view it, i type http://example.net nothing show up blank page. But when i do a example.net without the http

it show me my Zone file what does that mean?



I have setup my Zone file , Reverse file and Named.conf.



Please take a look at this files and spot my mistakes. Thanks



When everything was done.I did



killall -KILL named

service named status

rndc reload



number of zones: 4

debug level: 0

xfers running: 0

xfers deferred: 0

soa queries in progress: 0

query logging is ON

server is up and running



My /var/log/messages




If your www page brings up your registrar's page, then your site is either parked there (and no nameservers are listed), or you haven't uploaded a website, and that is their default site.

Was this answer helpful ? Yes No   
Guest


Nope. i already setup my website.. when i do a dns whois i found out that the domain name point to mydomain.com



furtheremore i notice when i view my website for example example.net without the http:// my Zone file pop out



But when i view with http:// it give me a blank page.

Was this answer helpful ? Yes No   
Guest


Quote:
Originally Posted by Drexxor
Nope. i already setup my website.. when i do a dns whois i found out that the domain name point to mydomain.com



furtheremore i notice when i view my website for example example.net without the http:// my Zone file pop out



But when i view with http:// it give me a blank page.




So I'm assuming you are hosting this on your own server, since it's showing your zone file. If this is the case, you need to add an NS1 and NS2 record that point to your IP address. You can call these whatever you'd like.. most people just name them ns1.yourdomain.com and ns2.yourdomain.com .. After you have created an NS record for your nameservers and an A record for ns1 and ns2, then you need to place the nameservers you created at the registrar (for the service you mentioned having to pay for). Then the registrar will point your domain to your server.

Was this answer helpful ? Yes No   
Guest


i need to pm you regarding about this problems. Can u attached or show me which i already attached my zone file there please take a look and teach me

Was this answer helpful ? Yes No   
Guest


You can PM me if need be, but I'll be gone for most of the rest of the day. The zone file you have is a good template, but I'm assuming you want this up soon, so try something along these lines (starting under the SOA):



Quote:

yukiro.net. IN NS ns1.yukiro.net.

yukiro.net. IN NS ns2.yukiro.net.

yukiro.net. IN A 203.x11.xxx.xx

www.yukiro.net. IN A 203.x11.xxx.xx

mail.yukiro.net. IN A 203.x11.xxx.xx

yukiro.net. IN MX 10 mail.yukiro.net.

ns1.yukiro.net. IN A 203.x11.xxx.xx

ns2.yukiro.net. IN A 203.x11.xxx.xx




The first two lines are NS records. They create ns1.yukiro.net and ns2.yukiro.net



The next 3 lines are A records. They just point your IP address to your domain, www.yourdomain and mail.yourdomain.



The next line is an MX record, which sets up a mail exchange for your domain (provided you want to send and receive mail with your domain)



The last 2 lines are 2 more A records which point your IP address to your nameservers.



From here, you need to take the 2 nameservers (in this case, ns1.yukiro.net and ns2.yukiro.net) and place them at the registrar so that your registrar can point your domain to your server. Keep in mind, that after you have placed the nameservers at the registrar, it can take up to 72 hours for changes to take effect, depending on the registrar.



Also, backup your zone file before making changes throughout the process of getting it setup, in case you ever want to see what you've done or to revert back to an old config.

Was this answer helpful ? Yes No   
Guest


Quote:
Originally Posted by hiker
You can PM me if need be, but I'll be gone for most of the rest of the day. The zone file you have is a good template, but I'm assuming you want this up soon, so try something along these lines (starting under the SOA):







The first two lines are NS records. They create ns1.yukiro.net and ns2.yukiro.net



The next 3 lines are A records. They just point your IP address to your domain, www.yourdomain and mail.yourdomain.



The next line is an MX record, which sets up a mail exchange for your domain (provided you want to send and receive mail with your domain)



The last 2 lines are 2 more A records which point your IP address to your nameservers.



From here, you need to take the 2 nameservers (in this case, ns1.yukiro.net and ns2.yukiro.net) and place them at the registrar so that your registrar can point your domain to your server. Keep in mind, that after you have placed the nameservers at the registrar, it can take up to 72 hours for changes to take effect, depending on the registrar.



Also, backup your zone file before making changes throughout the process of getting it setup, in case you ever want to see what you've done or to revert back to an old config.






is this correct?



@ SOA ns1 ( ; ns1.basiczone.com is the primary server for basiczone.com

postmaster ; contact email for basiczone.com is postmaster@basiczone.com

2004041700 ; Serial ID in reverse date format

21600 ; Refresh interval for slave servers

1800 ; Retry interval for slave servers

604800 ; Expire limit for cached info on slave servers

900 ) ; Minimum Cache TTL in zone records

Was this answer helpful ? Yes No   
Guest


Go ahead and change the top to:



yukiro.net. IN SOA ns1.yukiro.net. postmaster.yukiro.net. (

2006102401

10800

3600

604800

38400 )





The first line of numbers starting with 2006, is used to indicate the date that it was created/changed... the 01 at the end is the revision number.



Also, make sure that you restart named after you make all of the changes. (Linux the command is service named restart)



I saw the images you PMed.. they weren't too clear (low res or something), but make sure that you have replaced the nameservers and not just added them to what is already listed. In other words, delete the old nameservers that are listed (if any) that are pointing to mydomain.com's servers.

Was this answer helpful ? Yes No   
Guest


How long must i have to wait for update. In mydomain i already specified the nameservers before my server was setup.. I mean the A Records , when i do a A records test at www.dnsstuff.com it show no records



This is what i mean so far



[22:55] * Dns resolving yukiro.net

-

[22:55] * Dns resolved yukiro.net to 69.25.27.171

-

[22:55] * Dns resolving ns1.yukiro.net

-

[22:55] * Dns resolved ns1.yukiro.net to 203.xxx.xxx.xxx

-

[22:55] * Dns resolving ns2.yukiro.net

-

[22:55] * Dns resolved ns2.yukiro.net to 203.xxx.xxx.xxx



Both the nameservers correspond to my server ip but not the yukiro.net

Was this answer helpful ? Yes No   
Guest


Quote:
Originally Posted by Drexxor
How long must i have to wait for update. In mydomain i already specified the nameservers before my server was setup.. I mean the A Records , when i do a A records test at www.dnsstuff.com it show no records



This is what i mean so far



[22:55] * Dns resolving yukiro.net

-

[22:55] * Dns resolved yukiro.net to 69.25.27.171

-

[22:55] * Dns resolving ns1.yukiro.net

-

[22:55] * Dns resolved ns1.yukiro.net to 203.xxx.xxx.xxx

-

[22:55] * Dns resolving ns2.yukiro.net

-

[22:55] * Dns resolved ns2.yukiro.net to 203.xxx.xxx.xxx



Both the nameservers correspond to my server ip but not the yukiro.net




As I mentioned in a previous post, it can take up to 72 hours for changes to take effect, depending on the registrar.

Was this answer helpful ? Yes No   
Guest
 
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2010 by Infoqu. All rights reserved