Find the answer to your Linux question:
Results 1 to 2 of 2
Hi. I have bind on my server, and a little problem with subdomains. My Master file: Code: www:~# cat /var/cache/bind/master/lanterna-media.hr $ORIGIN . $TTL 86400 ; 1 day lanterna-media.hr IN SOA ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    1

    Bind _sometimes_ not resolving subdomains


    Hi.

    I have bind on my server, and a little problem with subdomains.

    My Master file:

    Code:
    www:~# cat /var/cache/bind/master/lanterna-media.hr
    $ORIGIN .
    $TTL 86400      ; 1 day
    lanterna-media.hr               IN SOA  ns1.esel2k.org. webmaster.esel2k.org.
                                    2007052301 ; serial
                                    86400      ; refresh (1 day)
                                    7200       ; retry (2 hours)
                                    604800     ; expire (1 week)
                                    172800     ; minimum (2 days)
                                    )
                            NS      ns1.esel2k.org.
                            NS      ns8.sapienti-sat.org.
                            A       217.13.197.130
                            MX      10 mail.esel2k.org.
    $ORIGIN lanterna-media.hr.
    ftp                     A       217.13.197.130
    mail                    A       217.13.197.130
    ns1                     A       217.13.197.130
    www                     A       217.13.197.130
    shop                    A       217.13.197.130
    boom                    A       217.13.197.130
    racuni                  A       217.13.197.130
    *                       A       217.13.197.130
    10             IN      PTR     mail.entertainment-zone.de.
    Now, the subdomain racuni sometimes is resolved correctly, sometimes I get an error:

    Code:
    # ping http://racuni.lanterna-media.hr/
    ping: unknown host http://racuni.lanterna-media.hr/
    zonefile:

    Code:
    zone "lanterna-media.hr" IN {
            type master;
            file "master/lanterna-media.hr";
            allow-transfer {
                    localhost;
                    Juri;
            };
    };

    Any ideas?

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    How about you try this instead:

    Code:
    ping racuni.lanterna-media.hr
    You cannot add all the junk to ping.

    Also racuni is not a subdomain but a host.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

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