From: Sergey Kornilovich <root81@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] dns SRV records
Date: Tue, 3 May 2011 12:30:43 +0400 [thread overview]
Message-ID: <BANLkTinzHD=Zj23DpqYri9rqMnuckd0wmQ@mail.gmail.com> (raw)
In-Reply-To: <e041feda80a033834cbb24ad8ddf9f48@plan9.bell-labs.com>
[-- Attachment #1: Type: text/plain, Size: 1645 bytes --]
So far, everything looks like a bug in the dns ...
Take a simple local file:
cat /lib/ndb/local
database=
file=/lib/ndb/local
file=/lib/ndb/common
dom=test.local soa=
refresh=3600 ttl=3600
ns=server.test.local
dom=_ldap._tcp.test.local soa=
refresh=3600 ttl=3600
srv=server.test.local pri=0 weight=0 port=389
ip=192.168.0.193 sys=server dom=server.test.local
>From plan9 everything looks fine:
cpu% dnsquery
> server.test.local
server.test.local ip 192.168.0.193
> _ldap._tcp.test.local srv
_ldap._tcp.test.local srv 0 0 389 server.test.local
But not from linux, not from windows, access to SRV records can not be
obtained ..
Linux output(Gentoo, bind-tools 9.7.3):
krok@krok ~ $ nslookup
> server 192.168.0.193
Default server: 192.168.0.193
Address: 192.168.0.193#53
> set q=srv
> _ldap._tcp.test.local
;; Warning: Message parser reports malformed message packet.
Server: 192.168.0.193
Address: 192.168.0.193#53
*** Can't find _ldap._tcp.test.local: No answer
Windows output(Windows Server 2003):
Address: 192.168.0.193
> set q=srv
> _ldap._tcp.test.local
Server: ns.rit.com
Address: 192.168.0.193
_ldap._tcp.test.local SRV service location:
priority = 0
weight = 0
port = 389
svr hostname = Invalid Name at offset 57!
*** Error: record size incorrect (-391819 != 24)
_ldap._tcp.test.local SRV service location:
priority = 0
weight = 0
port = 389
svr hostname = Invalid Name at offset 57!
*** Error: record size incorrect (-391819 != 24)
*** ns.rit.com can't find _ldap._tcp.test.local: Unspecified error
Does anyone have ideas how to fix the situation?
[-- Attachment #2: Type: text/html, Size: 2207 bytes --]
next prev parent reply other threads:[~2011-05-03 8:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-28 8:22 Sergey Kornilovich
2011-04-28 9:38 ` Sergey Zhilkin
2011-04-28 17:18 ` Steve Simon
2011-04-28 18:39 ` geoff
2011-05-03 8:30 ` Sergey Kornilovich [this message]
2011-05-04 11:41 ` Pavel Klinkovsky
[not found] ` <2ef2821c-eb63-427a-95c5-0e36a6c73b28@j26g2000yqa.googlegroups.co>
2011-05-04 13:10 ` erik quanstrom
2011-05-05 9:42 ` Sergey Kornilovich
2011-05-05 12:45 ` erik quanstrom
2011-05-05 15:35 ` Sergey Kornilovich
2011-05-05 15:44 ` erik quanstrom
2011-04-28 23:49 ` Benjamin Huntsman
2011-04-29 7:04 ` Sergey Zhilkin
2011-04-29 13:14 ` Sergey Kornilovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTinzHD=Zj23DpqYri9rqMnuckd0wmQ@mail.gmail.com' \
--to=root81@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).