dns records problem

Im a newbie with the DNS stuff, I monted a custom fedora 13 server and Im running the dns server with bind, I filled all the DNS info that I think is required, but is not working, when I start the service I have this message:

[root@server1 etc]# /etc/rc.d/init.d/named start                                       Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone loaded serial 0
zone loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
zone creativewebsolution.net/IN: NS 'ns1.creativewebsolution.net' has no address records (A or AAAA)
zone creativewebsolution.net/IN: NS 'ns2.creativewebsolution.net' has no address records (A or AAAA)
zone creativewebsolution.net/IN: not loaded due to errors.
_default/creativewebsolution.net/IN: bad zone

Any help would be appreciated.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pieter JordaanSenior Systems Administrator - Web hosting and Network Security.Commented:

You missed some of the configuration stuff.

The serial number can not be 0
You have to create an A record with either * or www
It also needs the NS record.

Please look at the example below:
Hugh FraserConsultantCommented:
While I'm all for learning what the syntax of  bind configuration files (or sendmail, postfix, apache,...) should look like, not everyone wants to dig down this far. For these people, have a look at "webmin" for a graphical tool to create the files for you.

Of course, you can use webmin to create the files, and then examine them to learn what syntactically correct ones look like.
M. Rashel AhmedCommented:
'ns1.creativewebsolution.net'  and 'ns2.creativewebsolution.net' both of them are resolving the same IP which is making conflict. you better assing second IP to the server and to ns2.creativewebsolution.net . then reboot the nameservice. you might allow some times to be propagated online.

Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Please do not assign this answer points -

another vote for webmin - some people look down on you for using it, but not everyone has time to learn everything.
M. Rashel AhmedCommented:
ChiefoftheChiss, your comment is not clear. can you please tell us in details. thanks.

Chris DentPowerShell DeveloperCommented:

It wants these in the creativewebsolution.net zone file:

ns1   IN A   <IPAddress>
ns2   IN A   <IPAddress>

They would compliment NS records like these:

@  IN NS  ns1
@  IN NS  ns2

If it still doesn't work, feel free to post the zone file, we can debug at that level.

If you don't like zone files feel free to go for webmin, I'm hardly going to criticise, I'm an MS sys admin for the most part :) However, it'll be easier for me to pinpoint problems in the raw file than an administrative interface.

mpvveeAuthor Commented:
thanks guys I think I "fixed" the file at least bind start, but Im not sure that the config is fine when I did the following commands I got this:

[root@server1 named]# host creativewebsolution.net
;; connection timed out; no servers could be reached
[root@server1 named]# nslookup creativewebsolution.net
;; Got SERVFAIL reply from, trying next server
;; connection timed out; no servers could be reached

[root@server1 named]# dig creativewebsolution.net

; <<>> DiG 9.7.1-P2-RedHat-9.7.1-2.P2.fc13 <<>> creativewebsolution.net
;; global options: +cmd
;; connection timed out; no servers could be reached
[root@server1 named]# dig creativewebsolution.net @localhost

; <<>> DiG 9.7.1-P2-RedHat-9.7.1-2.P2.fc13 <<>> creativewebsolution.net @localhost
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9385
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;creativewebsolution.net.       IN      A

creativewebsolution.net. 86400  IN      A

creativewebsolution.net. 86400  IN      NS      ns1.creativewebsolution.net.
creativewebsolution.net. 86400  IN      NS      ns2.creativewebsolution.net.

ns1.creativewebsolution.net. 86400 IN   A
ns2.creativewebsolution.net. 86400 IN   A

;; Query time: 0 msec
;; SERVER: ::1#53(::1)
;; WHEN: Wed Aug 18 06:45:25 2010
;; MSG SIZE  rcvd: 125

[root@server1 named]#
Chris DentPowerShell DeveloperCommented:

What DNS servers have you defined in resolv.conf?

mpvveeAuthor Commented:
those ip's are the DNS info that was given by my isp

# Generated by NetworkManager

M. Rashel AhmedCommented:
resolv.conf should have the IP assigned.

mpvveeAuthor Commented:
I added this line to my resolv.conf file, still doesnt working

M. Rashel AhmedCommented:
remove other 2 ips and make sure that you assign that IP in the name server area in whmcs as well. then reboot the name server.

M. Rashel AhmedCommented:
sorry, WHM.

mpvveeAuthor Commented:
Im using ISPConfig for my server, also if I remove the nameservers from the resolv.conf my server will have access still? to look for other domain names?
M. Rashel AhmedCommented:
In the very first message you mentioned about ns1.creativewebsolution.net and ns2.creativewebsolution.net name servers. So I am assuming that that is your name server which is supposed to be pointed to your server somehow on the DNS record.

mpvveeAuthor Commented:
yes, my dedicated web server will be a dns server as well
M. Rashel AhmedCommented:
so, resolv.conf should have the IP assigned and ns1.creativewebsolution.net and ns2.creativewebsolution.net have to be pointed to that IP. If you don't have access to the dns management for that domain, you need to ask your domain registrar to do that.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mpvveeAuthor Commented:
my I ask fro where IP is?
mpvveeAuthor Commented:
also can I use an external dns? so I avoid this?
Chris DentPowerShell DeveloperCommented:

You might use Google's DNS servers:

See: http://code.google.com/speed/public-dns/

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.