* [9fans] ndb suffix-specific dns changes
@ 2025-03-22 19:33 Russ Cox
2025-03-22 20:07 ` [9fans] " David du Colombier
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Russ Cox @ 2025-03-22 19:33 UTC (permalink / raw)
To: 9fans, David du Colombier
[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]
Hi all,
Sometimes private networks want you to use a specific DNS server for a
specific domain suffix but still use your regular DNS server for all other
names. I've added support for this to my plan9 tree, and David du Colombier
has applied it to 9legacy. It might be worth adding to 9front as well.
The change is in
https://github.com/rsc/plan9/commit/e8c148ff092a5780d04aa2fd4a07a5732207b698
.
A corresponding update to dnsdebug is in
https://github.com/rsc/plan9/commit/1d0642ae493bf5ce798a6aa64a745bc6316baa11
(David, you don't have that one yet, I just wrote it).
As the man page update explains, the change is pretty minimal. Instead of
writing
dns=1.2.3.4
you write
dns=1.2.3.4 suffix=my.net
to say that 1.2.3.4 should be used for names ending in my.net and only
those.
Best,
Russ
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9c9d81b5801a0820-M0d6e58548b730332bdc5f4e3
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 2039 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [9fans] Re: ndb suffix-specific dns changes
2025-03-22 19:33 [9fans] ndb suffix-specific dns changes Russ Cox
@ 2025-03-22 20:07 ` David du Colombier
2025-03-22 22:53 ` [9fans] " Steffen Nurpmeso
2025-03-22 23:31 ` cinap_lenrek
2 siblings, 0 replies; 4+ messages in thread
From: David du Colombier @ 2025-03-22 20:07 UTC (permalink / raw)
To: 9fans; +Cc: Russ Cox
> A corresponding update to dnsdebug is in
> https://github.com/rsc/plan9/commit/1d0642ae493bf5ce798a6aa64a745bc6316baa11
> (David, you don't have that one yet, I just wrote it).
Thanks. I've just added your ndb/dnsdebug change to 9legacy.
--
David du Colombier
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9c9d81b5801a0820-Ma64b2efa08db0490c96cb72e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] ndb suffix-specific dns changes
2025-03-22 19:33 [9fans] ndb suffix-specific dns changes Russ Cox
2025-03-22 20:07 ` [9fans] " David du Colombier
@ 2025-03-22 22:53 ` Steffen Nurpmeso
2025-03-22 23:31 ` cinap_lenrek
2 siblings, 0 replies; 4+ messages in thread
From: Steffen Nurpmeso @ 2025-03-22 22:53 UTC (permalink / raw)
To: 9fans
Russ Cox wrote in
<CADSkJJV92O12s37h0QVbtVTx593k+H9tnF4wxjvzy08yqnWL4w@mail.gmail.com>:
|Sometimes private networks want you to use a specific DNS server for a
|specific domain suffix but still use your regular DNS server for all other
|names. I've added support for this to my plan9 tree, and David du Colombier
|has applied it to 9legacy. It might be worth adding to 9front as well.
|
|The change is in
|https://github.com/rsc/plan9/commit/e8c148ff092a5780d04aa2fd4a07a5732207\
|b698
|.
|
|A corresponding update to dnsdebug is in
|https://github.com/rsc/plan9/commit/1d0642ae493bf5ce798a6aa64a745bc6316b\
|aa11
|(David, you don't have that one yet, I just wrote it).
|
|As the man page update explains, the change is pretty minimal. Instead of
|writing
|
| dns=1.2.3.4
|
|you write
|
| dns=1.2.3.4 suffix=my.net
|
|to say that 1.2.3.4 should be used for names ending in my.net and only
|those.
(I thought you referred to RFC 9463 and RFC 9704. Just in case it
is of interest...)
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] ndb suffix-specific dns changes
2025-03-22 19:33 [9fans] ndb suffix-specific dns changes Russ Cox
2025-03-22 20:07 ` [9fans] " David du Colombier
2025-03-22 22:53 ` [9fans] " Steffen Nurpmeso
@ 2025-03-22 23:31 ` cinap_lenrek
2 siblings, 0 replies; 4+ messages in thread
From: cinap_lenrek @ 2025-03-22 23:31 UTC (permalink / raw)
To: 9fans
i had the same problem with the "vpn internal"
zones of my employer, and found ndb/dns already
has a mechanism to define a delegated zone:
dom=my.net soa=delegated ns=ns.my.net
when ns.my.net doesnt resolve, you can serve
that domain yourself like:
dom=ns.my.net ip=1.2.3.4 soa= ns=ns.my.net
hope this is usefull.
--
cinap
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9c9d81b5801a0820-M0f164e5d9edc9a2259e150e9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-03-22 23:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-22 19:33 [9fans] ndb suffix-specific dns changes Russ Cox
2025-03-22 20:07 ` [9fans] " David du Colombier
2025-03-22 22:53 ` [9fans] " Steffen Nurpmeso
2025-03-22 23:31 ` cinap_lenrek
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).