Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: DNS zone files

  1. #1
    Member
    Join Date
    May 2001
    Location
    Paradise, Ca
    Posts
    177

    DNS zone files

    I can't get DNS zone files setup on apache 2.0.40 on RH9

    This will be my first time, and I'm baffled, and becoming (more) bald trying.
    I have apache running properly and showing the test page when using IP# but can't get the domain name and ns to resolve, even though nameserver shows properly with DNSreports.com.

    Google swooshes over my head or costs $1500 for cPanel

    First goal is to get httpd to recognize a domain that does have resolvable ns entries

    Secondary goal is to get qmail finished so it has mx, soa, rDNS and the rest of the needed stuff to be a real mail server. I'm actually quite installed on qmail also, just not all the tweaking and the admin goodies. I got stumped at page 8 of the 17 at qmailrocks.com

    Yes, I do have static IPs and a megabit+ connection [for those who remember my two pringles cans and string for a network and no dsl/cable ever ;-) }

    If anyone has a link to info_on_this for Dummies I can probably do that.

    Failing that I can hire, if I can find the right person to ssh tunnel in and just do it.

    I'd be most grateful, and have undying admiration ;-)

    Ken
    pantheus (at) pantheus (dawt) com

  2. #2

    Re:DNS zone files

    What happens when you do?:

    dig @127.0.0.1 <host to lookup.withyourdomain.com>

    Also, in your /etc/resolv.conf do you have?:

    domain yourdomainnamehere.com


  3. #3
    Member
    Join Date
    May 2001
    Location
    Paradise, Ca
    Posts
    177

    Re:DNS zone files

    [quote author=Master Copy link=board=4;threadid=8809;start=0#msg79534 date=1078593488]
    What happens when you do?:

    dig @127.0.0.1 <host to lookup.withyourdomain.com>
    [/quote]
    Code:
    [root@ken ken]# dig @127.0.0.1 theknulls.com
     
    ; <<>> DiG 9.2.1 <<>> @127.0.0.1 theknulls.com
    ;; global options:  printcmd
    ;; connection timed out; no servers could be reached
    [root@ken ken]#
    Also, in your /etc/resolv.conf do you have?:

    domain yourdomainnamehere.com
    Yes, and I tried with both the SBC assigned DNS and the DNS I registered with the nameservers. Both returned the above paste. Heck I even tried using ns1 (me) and SBC secondary as ns2 to no better help.

    Yet, I can access the httpd test page with my own Primary DNS , just not the domain.tld that *IS* associated with the ns1

    I don't have a machine hooked up to what I declared as ns2 IP so I'm not sure what to do there, but the ns1 is valid and == 127.0.0.1

    I know almost enough to be dangerous here...and feel a bit like a fish out of water.

    I appreciate the help K-K oppps, Master C.

    Ken


  4. #4
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:DNS zone files

    [quote author=Pantheus link=board=4;threadid=8809;start=0#msg79536 date=1078596674]
    the DNS I registered with the nameservers.[/quote]
    So you registered your domain with "dnsname" company. They ask you to fill in your "nameserverIP" and you filled in "ns1.nameserver.com" as your address?

    Now you contact your "ns1.nameserver.com" admin and asked him/her to point your dns name "www.yourname.com" to your IP address "123.123.123.123"?

    If all of the above are correct, then we will move on to your httpd.conf file.

  5. #5
    Member
    Join Date
    May 2001
    Location
    Paradise, Ca
    Posts
    177

    Re:DNS zone files

    [quote author=Compunuts link=board=4;threadid=8809;start=0#msg79549 date=1078606680]
    [quote author=Pantheus link=board=4;threadid=8809;start=0#msg79536 date=1078596674]
    the DNS I registered with the nameservers.[/quote]
    So you registered your domain with "dnsname" company. They ask you to fill in your "nameserverIP" and you filled in "ns1.nameserver.com" as your address?

    Now you contact your "ns1.nameserver.com" admin and asked him/her to point your dns name "www.yourname.com" to your IP address "123.123.123.123"?

    If all of the above are correct, then we will move on to your httpd.conf file.
    [/quote]

    Yes, what you said ....

    Here's what dnsreports says:

    Code:
    DNS Report for theknulls.com
    Generated by www.DNSreport.com at 21:14:59 GMT on 06 Mar 2004.
    
    CategoryStatusTest NameInformation
    Parent PASSMissing Direct Parent check
    OK. Your direct parent zone exists, which is good. Some domains (usually third or fourth level domains, such as example.co.us) do not have a direct parent zone ('co.us' in this example), which is legal but can cause confusion.
    
    INFONS records at parent serversYour NS records at the parent servers are:
    
    ns1.theknulls.com. [69.105.70.41] [TTL=172800] [US]
    ns2.theknulls.com. [69.105.70.45] [TTL=172800] [US]
    
    [These were obtained from h.gtld-servers.net]
    PASSParent nameservers have your nameservers listedOK. When someone uses DNS to look up your domain, the first step (if it doesn't already know about your domain) is to go to the parent servers. If you aren't listed there, you can't be found. But you are listed there, with 2 entries.
    
    PASSGlue at parent nameserversOK. The parent servers have glue for your nameservers. That means they send out the IP address of your nameservers, as well as their host names.
    
    NS FAILNSA timeout occurred getting the NS records from your nameservers! None of your nameservers responded fast enough. They are probably down or unreachable. I can't continue since your nameservers aren't responding. .
    ns1 from above is this machine IP
    ns2 is another static IP, on gateway but NOT on a machine

    If the above is ok, then I'm ready also to "move on to the httpd.conf"

  6. #6
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:DNS zone files

    Okay so you are running your own Name server?

    Then did you have your entry to your apache server in your BIND?

  7. #7
    Member
    Join Date
    May 2001
    Location
    Paradise, Ca
    Posts
    177

    Re:DNS zone files

    [quote author=Compunuts link=board=4;threadid=8809;start=0#msg79554 date=1078610115]
    Okay so you are running your own Name server?
    [/quote]

    No, it is run by the registrar I registered the domain name and ns's with
    (all for $ 6.95 a year ;-0 )

    Then did you have your entry to your apache server in your BIND?
    No I'm not running bind or any name server, at least I've not done anything with bind... except to set up ns1 & ns2 at the registrar.. and ask them why my domain.tld isn't resolving.

    They said:

    Code:
    "Do you have DNS zone files setup on your server for theknulls.com?  Please setup your DNS zone files."
    After "studying" and googling for three days, I came here with hat in hand....

    Ken

  8. #8

    Re:DNS zone files

    If that service does indeed offer DNS resolution, you need to setup the zone files there. If not, sign up at zoneedit.com (FREE) and have the zones point to your IP. For instance, www.pantheus.com IP <Your outside IP> Then you can do:

    dig @ns14.zoneedit.com www.pantheus.com

    All should be good there. As long as port 80 is pointed to something, it will go to that server. No real internal name resolution is needed. You might want to add in your gateway and server's /etc/hosts that host "www" is pointed to the HTTP server. Didn't know you wern't running your own named/BIND. My bad.

  9. #9
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:DNS zone files

    [quote author=Compunuts link=board=4;threadid=8809;start=0#msg79549 date=1078606680]
    Now you contact your "ns1.nameserver.com" admin and asked him/her to point your dns name "www.yourname.com" to your IP address "123.123.123.123"?
    [/quote]
    This is what I said and ......
    [quote author=Pantheus link=board=4;threadid=8809;start=0#msg79552 date=1078608046]
    Yes, what you said ....[/quote]
    And that was what you said.
    We had over-step one step here.

    [quote author=Pantheus link=board=4;threadid=8809;start=0#msg79552 date=1078608046]
    Code:
    ns1.theknulls.com. [69.105.70.41] [TTL=172800] [US]
    ns2.theknulls.com. [69.105.70.45] [TTL=172800] [US]
    
    <snip>
    
    A timeout occurred getting the NS records from your nameservers! None of your nameservers responded fast enough. They are probably down or unreachable. I can't continue since your nameservers aren't responding. .
    ns1 from above is this machine IP
    ns2 is another static IP, on gateway but NOT on a machine
    [/quote]
    According to this, then you must be running BIND yourself. If not, then you have empty entry in your Zone file.

    They know where your address is but they are knocking the wrong door.

    If you want to know the details of how DNS works, check it out here.

    So when you sign up with your name provider, they let you register domain name without any DNS service. You need to have someone hosting your DNS record. All they do is mark your domain in which DNS server group your domain belongs to.

    Some pay money for DNS service and some provide for free. I use www.mydomain.com which provide free DNS as well as forwarding. Because of their good service, I register most of my domain with them as well.

    There, they will run DNS server for you and provide the world with who you are and what address your domain is located at. There, your domain name is listed with reference to your IP address.

    Only then, your Apache can start serving web pages to the world via name instead of IP address.

    HTH ...

  10. #10
    Member
    Join Date
    May 2001
    Location
    Paradise, Ca
    Posts
    177

    Re:DNS zone files

    Ok, the more I "learn" the further from 'making it happen' I get.

    Because the original domainname.COM , and ns entries were giving me the shits, and compunuts recommended mydomain.,com I went there and registered the .NET of the same name, and "tried" again...

    This time I do get a better, more complete, report at dnsreport ~ in fact I get all the way through to a page of THEIRS offering to sell me more domains ;-)

    When I test nameservers at: http://www.verisign.com/nds/naming/
    I get:
    Code:
    KEN.THEKNULLS.NET
    NS1.THEKNULLS.COM
    I tried to learn about running bind/named and gave it up for now

    I registered at zoneedit.com but got confused there too, and dyndns.org seemed cumbersome, so it looks like I need to get the last step or two done at mydomain.com that being: getting the name servers to actually point to the correct IP# (mine! not theirs) and even that isn't clear as to how to do it. That'll take care of the .net stuff

    Then on to try to sort out what I did wrong, and how to fix it at the first place where the .com is registered with ns that point to ME, but apparently times out, so would it be better to cancel the nameservers there and drag the dns over to mydomain.com? and let them host the dns?

    If / qhen this is sorted I have a bizzillion ?s about setting up the rest of qmail, but this is first.

    TIA for any help,

    Ken

Similar Threads

  1. Word 2003 will not open .doc files
    By Pat in forum Windows - General Topics
    Replies: 0
    Last Post: 03-31-2006, 11:06 PM
  2. OneNote 2003 temporary files may stay
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 02:48 AM
  3. Files and Settings Transfer Wizard
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 12-31-2004, 10:12 PM
  4. Problems sending mail to users on my mail server
    By Ed McCorduck in forum Linux - Software, Applications & Programming
    Replies: 8
    Last Post: 06-23-2004, 10:18 AM
  5. Physical order of files on cd-r?
    By t048 in forum Linux - General Topics
    Replies: 3
    Last Post: 12-22-2003, 04:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •