Professional Web Applications Themes

Can see www.<domain>.com but not <domain>.com after named setup - Linux Setup, Configuration & Administration

Good evening all, I am having a problem setting up named on RH9 linux box for an external domain. I have set up the various conf files (shown below) such that I can now hit [url]www.fifthsparrow.com[/url], news.fifthsparrow.com and so on; what I can *not* do, however, is hit fifthsparrow.com without the prefix. I think I have an error in my config files but I can't seem to find it and comparing them to the TrinityOS files shows no difference. I would be very grateful for any help anyone can give me w/ this issue. ----------------------------------------------------- /etc/named.conf // generated by named-bootconf.pl ...

  1. #1

    Default Can see www.<domain>.com but not <domain>.com after named setup

    Good evening all,

    I am having a problem setting up named on RH9 linux box for an
    external domain. I have set up the various conf files (shown below)
    such that I can now hit [url]www.fifthsparrow.com[/url], news.fifthsparrow.com
    and so on; what I can *not* do, however, is hit fifthsparrow.com
    without the prefix.

    I think I have an error in my config files but I can't seem to find it
    and comparing them to the TrinityOS files shows no difference. I would
    be very grateful for any help anyone can give me w/ this issue.

    -----------------------------------------------------
    /etc/named.conf

    // generated by named-bootconf.pl

    options {
    directory "/var/named";
    query-source address * port 53;
    };

    zone "." IN {
    type hint;
    file "named.ca";
    };

    zone "fifthsparrow.com" IN {
    type master;
    notify yes;
    file "named.hosts";
    };

    zone "122.173.105.64.in-addr.arpa" IN {
    type master;
    notify yes;
    file "named.hosts.rev";
    };

    include "/etc/rndc.key";

    --------------------------------------------------
    /var/named/named.hosts

    $TTL 86400
    IN SOA fifthsparrow.com. webmaster.fifthsparrow.com.
    (
    2003070703 ; Serial
    28800 ; Refresh
    14400 ; Retry
    3600000 ; Expire
    86400 ) ; Minimum
    NS ns.fifthsparrow.com.
    MX 10 mail.fifthsparrow.com.

    ns 86400 A 64.105.173.122
    mail 86400 A 64.105.173.122

    gandalf 86400 CNAME ns
    news 86400 CNAME ns
    www 86400 CNAME ns

    --------------------------------------------------
    /var/named/named.hosts.rev

    $TTL 86400
    IN SOA fifthsparrow.com. webmaster.fifthsparrow.com.
    (
    2003070704 ; Serial
    28800 ; Refresh
    14400 ; Retry
    3600000 ; Expire
    86400 ) ; Minimum
    IN NS ns.fifthsparrow.com.

    122.173.105.64.in-addr.arpa. IN PTR ns.fifthsparrow.com.
    Donald Wheeler Guest

  2. #2

    Default Re: Can see www.<domain>.com but not <domain>.com after named setup

    Donald Wheeler <googledna-works.com> wrote:
    > and so on; what I can *not* do, however, is hit fifthsparrow.com
    > without the prefix.
    You need to add an IP called "" (nothing) and one called *
    > gandalf 86400 CNAME ns
    > news 86400 CNAME ns
    > www 86400 CNAME ns
    IN CNAMA news
    * IN CNAME news
    davide@yahoo.com Guest

  3. #3

    Default Re: Can see www.<domain>.com but not <domain>.com after named setup

    OK, using the * entry worked for all non-blank server names (i.e.,
    randomtextfff.fifthsparrow.com and such are now supported) but trying
    the line

    IN CNAME www

    still does not bind 'fifthsparrow.com'.

    When I run the command 'dig fifthsparrow.com', I am receiving this
    output.

    ---------------------------------------------------------------------

    ; <<>> DiG 9.2.1 <<>> fifthsparrow.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28644
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;fifthsparrow.com. IN A

    ;; AUTHORITY SECTION:
    fifthsparrow.com. 7987 IN SOA fifthsparrow.com.
    webmaster.fifthsparrow.com. 2003071004 28800 14400 3600000 86400

    ;; Query time: 34 msec
    ;; SERVER: 64.105.173.121#53(64.105.173.121)
    ;; WHEN: Thu Jul 10 01:19:51 2003
    ;; MSG SIZE rcvd: 80

    ---------------------------------------------------------------------

    Is this what I should be seeing for a real DNS lookup? The dig
    results for [url]www.fifthsparrow.com[/url], ns.fifthsparrow.com and anything
    hitting the wildcard are much different.

    Thanks,
    Donald Wheeler



    [email]davide[/email] wrote in message news:<beisiq$5nh0i$1ID-18487.news.dfncis.de>...
    > Donald Wheeler <googledna-works.com> wrote:
    > > and so on; what I can *not* do, however, is hit fifthsparrow.com
    > > without the prefix.
    >
    > You need to add an IP called "" (nothing) and one called *
    >
    > IN CNAMA news
    > * IN CNAME news
    Just to make sure, the 'CNAMA' was a typo - you meant to say 'CNAME',
    correct?
    Donald Wheeler Guest

  4. #4

    Default Re: Can see www.<domain>.com but not <domain>.com after named setup

    Donald Wheeler <googledna-works.com> wrote:
    > ;; QUESTION SECTION:
    > ;fifthsparrow.com. IN A
    > Is this what I should be seeing for a real DNS lookup?
    No. You should see the IP address of the machine...

    $ dig soft-land.org

    ; <<>> DiG 9.2.2 <<>> soft-land.org
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17050
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;soft-land.org. IN A

    ;; ANSWER SECTION:
    soft-land.org. 84000 IN A 209.211.253.195

    Davide

    davide@yahoo.com Guest

Similar Threads

  1. RPC over HTTP in domain vs. not in a domain
    By AdminKen in forum Windows Server
    Replies: 1
    Last Post: June 27th, 10:10 AM
  2. Replies: 0
    Last Post: June 14th, 02:38 PM
  3. Replies: 0
    Last Post: August 14th, 12:26 PM
  4. Anyway to setup WinXP pro as domain controller
    By copulus in forum Windows Setup, Administration & Security
    Replies: 2
    Last Post: July 11th, 05:55 PM
  5. XP pro in NT 4 domain
    By Ray in forum Windows Networking
    Replies: 0
    Last Post: July 9th, 05:43 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139