Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
dns not able to resolv
Results 1 to 2 of 2

Thread: dns not able to resolv

  1. #1
    Newbie
    Join Date
    Jul 2005
    Location
    india
    Posts
    5

    dns not able to resolv

    distro - Red Hat Enterprise Linux AS release 4 (Nahant)
    trying to configure named. named is running but # dig is showing 0 answers. all the configuration details r as follows.edited the following files.....
    /etc/named.conf
    /var/named/server.sarayu3.com.zone
    /var/named/1.168.192.in-addr.arpa.zpne
    ----------------------------------------------



    # hostname
    server.sarayu3.com
    -----------------------
    # cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 server.sarayu3.com server localhost.localdomain localhost
    192.168.1.3 server.sarayu3.com server.sarayu3.com
    -----------------------------
    # cat /etc/resolv.conf
    #search sarayu3.com
    nameserver 192.168.1.3

    nameserver 61.1.96.69
    nameserver 61.1.96.71
    ------------------------------------------
    # cat /etc/named.conf | more
    options {
    directory "/var/named";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    };

    // a caching only nameserver config

    controls {
    inet 127.0.0.1 allow { localhost; } keys { rndckey; };
    };

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

    zone "localdomain" IN {
    type master;
    file "localdomain.zone";
    allow-update { none; };
    };
    zone "localhost" IN {
    type master;
    file "localhost.zone";
    allow-update { none; };
    };

    zone "0.0.127.in-addr.arpa" IN {
    type master;
    file "named.local";
    allow-update { none; };
    };

    ##########################
    zone "server.sarayu3.com" IN {
    type master;
    file "server.sarayu3.com.zone";
    allow-update { none; };
    };

    zone "1.168.192.in-addr.arpa" IN {
    type master;
    file "1.168.192.in-addr.arpa.zone";
    allow-update { none; };
    };

    ##########################



    zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 .0.0.0.0.0.0.ip6.arpa" IN {
    type master;
    file "named.ip6.local";
    allow-update { none; };
    };


    zone "255.in-addr.arpa" IN {
    type master;
    file "named.broadcast";
    allow-update { none; };
    };

    zone "0.in-addr.arpa" IN {
    type master;
    file "named.zero";
    allow-update { none; };
    };

    include "/etc/rndc.key";
    --------------------------------------------------------------
    # cat /var/named/server.sarayu3.com.zone
    $ORIGIN server.sarayu3.com.
    $TTL 86400
    @ IN SOA server.sarayu3.com. root.server.sarayu3.com. (
    42 ; serial (d. adams)
    3H ; refresh
    15M ; retry
    1W ; expiry
    1D ) ; minimum



    IN NS 192.168.1.3
    server.sarayu3.com IN A 192.168.1.3
    www IN CNAME server.sarayu3.com.

    -----------------------------------------------------
    # cat /var/named/1.168.192.in-addr.arpa.zone
    $ORIGIN 1.168.192.in-addr.arpa.
    $TTL 86400
    @ IN SOA server.sarayu3.com. root.server.sarayu3.com. (
    1997022700 ; Serial
    28800 ; Refresh
    14400 ; Retry
    3600000 ; Expire
    86400 ) ; Minimum



    IN NS server.sarayu3.com.
    3 IN PTR server.sarayu3.com.
    ----------------------------------------------------------------------
    # dig server.sarayu3.com

    ; <<>> DiG 9.2.4 <<>> server.sarayu3.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 34853
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;server.sarayu3.com. IN A

    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.3#53(192.168.1.3)
    ;; WHEN: Thu Jul 28 12:23:11 2005
    ;; MSG SIZE rcvd: 36
    ---------------------------------------------------------

  2. #2
    Senior Member
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    253

    Re:

    Dear jkmartha,
    Hello,

    Remove these entried from your /etc/resolv.conf

    Code:
    nameserver 61.1.96.69
    nameserver 61.1.96.71
    Best Regards.
    Frrkh hmd

Similar Threads

  1. can't ping or resolv address
    By mel8009 in forum Linux - Hardware, Networking & Security
    Replies: 9
    Last Post: 12-09-2009, 03:47 PM
  2. /etc/resolv.conf
    By coltrane in forum Linux - General Topics
    Replies: 1
    Last Post: 06-24-2003, 10:53 PM
  3. dhcp and resolv.conf
    By kyiu in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 03-26-2002, 03:31 AM
  4. Bind won't resolv
    By kenshi in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 12-30-2001, 06:31 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
  •