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
bind Resource Record problems
Results 1 to 2 of 2

Thread: bind Resource Record problems

  1. #1

    bind Resource Record problems

    Hi there I'm currently configurating bind I have learned the basic bind config from Oreilly's great "dns and bind" book, but when I try to define my subdomains I get problems
    in named.conf I have definied a master zone
    Code:
    zone "foo.com IN {
            type master;
            file "/var/named/master/foo.net";
            notify yes;
    };
    and my foo.net looks like this :
    Code:
    $TTL 86400
    @ 1D IN SOA dns.foo.com. electra.foo.com. (
        20040421 ;serial
        21600    ;refresh_time
        3600     ;retry time
        604800   ;expire
        86400  ) ;negative caching of TTL
    
       IN NS dns.foo.com.
       IN NS dns1.foo.com.
      dns     IN A 217.211.255.204
    I also have an reverse file which loads without problems, but I can the master file to load I get this in my log:
    Code:
    dns_master_load: /var/named/master/foo.net:12: unknown RR type 'dns'
    thnx for any input.

  2. #2

    Re:bind Resource Record problems

    [quote author=Mor_gath link=board=4;threadid=9079;start=0#msg82166 date=1082651015]
    Code:
    $TTL 86400
    @ 1D IN SOA dns.foo.com. electra.foo.com. (
        20040421 ;serial
        21600    ;refresh_time
        3600     ;retry time
        604800   ;expire
        86400  ) ;negative caching of TTL
    
       IN NS dns.foo.com.
       IN NS dns1.foo.com.
      dns     IN A 217.211.255.204
    [/quote]

    I think the problem where he points to is in the last line here.
    Try just without this "dns". As far as i know every record must start with a class like "IN" and so on. Should look like this.
    Code:
        IN A 217.211.255.204
    Chris

Similar Threads

  1. SPF record
    By svar in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 03-10-2009, 04:28 AM
  2. Keyboard Drivers Resource
    By Ein in forum Windows - General Topics
    Replies: 2
    Last Post: 05-30-2006, 01:47 AM
  3. Resource search!
    By Stracatay in forum Linux - General Topics
    Replies: 1
    Last Post: 02-21-2006, 12:46 PM
  4. cdrdao resource usage
    By demian in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 08-14-2003, 06:01 PM
  5. Open Resource for Web Developers
    By coltrane in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 07-25-2002, 07:01 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
  •