From owner-freebsd-questions Wed May 27 03:46:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA29165 for freebsd-questions-outgoing; Wed, 27 May 1998 03:46:01 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from home.rest.ru (root@home.rest.ru [195.58.8.205]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA29138; Wed, 27 May 1998 03:45:45 -0700 (PDT) (envelope-from zal@rest.ru) Received: from rest.ru (zal.rest.ru [194.135.175.178]) by home.rest.ru (8.8.8/8.8.7) with ESMTP id QAA21315; Wed, 27 May 1998 16:47:38 +0600 (ESS) (envelope-from zal@rest.ru) Message-ID: <356BEE76.63A45351@rest.ru> Date: Wed, 27 May 1998 16:44:06 +0600 From: Aleksey Zvyagin Organization: REST Ltd. X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG CC: zal@rest.ru, freebsd-bug@FreeBSD.ORG Subject: Using the new BIND (8.1.2) in FreeBSD 2.2.6-BETA Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, All! I am sorry for my bad English! I had installed the new version of BIND - 8.1.2 (the default FreeBSD's bind is 4.xx version) And i would like to ask a two question: ** 1. ** I have some bugs: for example: if i am adding in my primary DNS (DNS1, zone is 'foo.com' for example, on machine with FreeBSD 2.2.6-BETA + BIND 8.1.2) the NS record for other DNS (DNS2, zone is 'alex.foo.com', XXX OS) and the DNS2 has MX record for itself: ========================================= EXAMPLE ===================================== ; ------------ DNS1 contents: alex.foo.com. NS dns2.foo.com. ;------------- DNS2 contents: alex.foo.com. MX dns2.foo.com. ======================================================================================= In the DNS1 machine (it contents the zone 'foo.com') i type: nslookup -q=mx alex.foo.com the nslookup writes: *** localhost.rest.ru can't find okb.rest.ru: Non-existent host/domain If i run the nslookup in interactive mode with 'set d2' then i notice that serial number of 'foo.com' is 1998052201 (too older - the new serial is 1998052701 already!) ***************************** Got answer (86 bytes): HEADER: opcode = QUERY, id = 52105, rcode = NXDOMAIN header flags: response, auth. answer, want recursion, recursion avail questions = 1, answers = 0, authority records = 1, additional = 0 QUESTIONS: alex.foo.com, type = MX, class = IN AUTHORITY RECORDS: -> rest.ru type = SOA, class = IN, dlen = 38 ttl = 86400 (1 day) origin = dns1.foo.com mail addr = hostmaster.dns1.foo.com serial = 1998052201 refresh = 10800 (3 hours) retry = 3600 (1 hour) expire = 2592000 (30 days) minimum ttl = 86400 (1 day) ***************************** If i run the nslookup as: nslookup -q=soa foo.com then the serial is normal - 1998052701 The question is following: Is it bug or not??? ** 2. ** The question number two. The destribution of BIND 8.1.2 (FreeBSD port) uses the directory '/usr/local/bind/' which contents include/arpa/inet.h, include/resolv.h and etc. But the original FreeBSD containg the bind 4.x stores these header files in '/usr/include/resolv.h', '/usr/include/arpa/inet.h' and etc. After installation of BIND 8.1.2 these files are located in two places: /usr/include/* - an older files from BIND 4.x /usr/local/bind/include/* - an newer files from BIND 8.1.2 Is not this right? What is happen if i will compile a program which uses these files ?! What files from header files will be used for dns related functions?! May the my first question be the result this not correct istallation? Please, to send the copies answers at my Email address: zal@rest.ru Thanks. -- Best regards, Aleksey Zvyagin, Ekaterinburg city, Ural region, Russia. E-mail: zal@rest.ru; UIN: 1381198; ntalk compatible: zal@zal.rest.ru; Mini-site: http://www.almaz.rest.ru ; HomePage: http://www.rest.ru/~zal/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message