Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 1998 16:44:06 +0600
From:      Aleksey Zvyagin <zal@rest.ru>
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
Message-ID:  <356BEE76.63A45351@rest.ru>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?356BEE76.63A45351>