Skip to contentSkip to conversation

resolv.conf: Update MAXNS header reference for resolv.conf(5)

PATCH In review Masanari Iida 2 participants 5 messages Aug 7 – Aug 22 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 resolv.conf: Update MAXNS header reference for resolv.conf(5)

The MAXNS limit mentioned in resolv.conf.5 now points to <res_state.h> instead of <resolv.h>, matching the change in glibc headers.

---
 man/man5/resolv.conf.5 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man/man5/resolv.conf.5 +1 -1
index 8e914f12a18d..89f9d903a1e3 100644
@@ -50,7 +50,7 @@ or an IPv6 address in colon (and possibly dot) notation as per RFC 2373.
 Up to
 .B MAXNS
 (currently 3, see
-.IR <resolv.h> )
+.IR <res_state.h> )
 name servers may be listed,
 one per keyword.
 If there are multiple servers,
Signature · 1 line
2.25.0
#1 lore raw

Hi Masanari,

Quoted 6 lines

Date: 2026-08-07 21:49:16+0900
From: Masanari Iida <[email protected]>

The MAXNS limit mentioned in resolv.conf.5 now points to <res_state.h> instead of <resolv.h>, matching the change in glibc headers.

Would you mind providing a reference to that change? When did it happen?

Could you provide a specific glibc commit?

Have a lovely night!
Alex

Quoted 22 lines
---
 man/man5/resolv.conf.5 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man/man5/resolv.conf.5 +1 -1
index 8e914f12a18d..89f9d903a1e3 100644
@@ -50,7 +50,7 @@ or an IPv6 address in colon (and possibly dot) notation as per RFC 2373.
 Up to
 .B MAXNS
 (currently 3, see
-.IR <resolv.h> )
+.IR <res_state.h> )
 name servers may be listed,
 one per keyword.
 If there are multiple servers,
Signature · 1 line
2.25.0
Signature · 1 line
<https://www.alejandro-colomar.es>
#2 lore raw
Quoted 8 lines

Date: 2026-08-08 01:26:05+0200
From: Alejandro Colomar <[email protected]>

Hi Masanari,

Quoted 3 lines

Date: 2026-08-07 21:49:16+0900
From: Masanari Iida <[email protected]>

Quoted 8 lines
Quoted 3 lines

The MAXNS limit mentioned in resolv.conf.5 now points to <res_state.h> instead of <resolv.h>, matching the change in glibc headers.

Would you mind providing a reference to that change? When did it happen?

Could you provide a specific glibc commit?

I've found it:

glibc.git 500b3a499fff (2017-05-20; "Remove __need_list_t and __need_res_state.")

Please include that reference in the commit message.

Cheers,
Alex

Quoted 30 lines

Have a lovely night!
Alex

Quoted 22 lines
---
 man/man5/resolv.conf.5 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man/man5/resolv.conf.5 +1 -1
index 8e914f12a18d..89f9d903a1e3 100644
@@ -50,7 +50,7 @@ or an IPv6 address in colon (and possibly dot) notation as per RFC 2373.
 Up to
 .B MAXNS
 (currently 3, see
-.IR <resolv.h> )
+.IR <res_state.h> )
 name servers may be listed,
 one per keyword.
 If there are multiple servers,
Signature · 1 line
2.25.0
Signature · 1 line
<https://www.alejandro-colomar.es>
Signature · 1 line
<https://www.alejandro-colomar.es>
#3 lore raw

PATCH 1/1 resolv.conf: Update MAXNS header reference for resolv.conf(5)

The MAXNS limit mentioned in resolv.conf.5 points to <res_state.h> instead of <resolv.h> after following glibc change.

500b3a499fff (2017-05-20; "Remove __need_list_t and __need_res_state.")

---
 man/man5/resolv.conf.5 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man/man5/resolv.conf.5 +1 -1
index 8e914f12a18d..89f9d903a1e3 100644
@@ -50,7 +50,7 @@ or an IPv6 address in colon (and possibly dot) notation as per RFC 2373.
 Up to
 .B MAXNS
 (currently 3, see
-.IR <resolv.h> )
+.IR <res_state.h> )
 name servers may be listed,
 one per keyword.
 If there are multiple servers,
Signature · 1 line
2.25.0
#4 lore raw

Hi Masanari,

Quoted 9 lines

Date: 2026-08-08 11:15:39+0900
From: Masanari Iida <[email protected]>

The MAXNS limit mentioned in resolv.conf.5 points to <res_state.h> instead of <resolv.h> after following glibc change.

500b3a499fff (2017-05-20; "Remove __need_list_t and __need_res_state.")

Thanks! I've applied the patch.

Have a lovely day!
Alex

Quoted 21 lines
---
 man/man5/resolv.conf.5 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man/man5/resolv.conf.5 +1 -1
index 8e914f12a18d..89f9d903a1e3 100644
@@ -50,7 +50,7 @@ or an IPv6 address in colon (and possibly dot) notation as per RFC 2373.
 Up to
 .B MAXNS
 (currently 3, see
-.IR <resolv.h> )
+.IR <res_state.h> )
 name servers may be listed,
 one per keyword.
 If there are multiple servers,
Signature · 1 line
2.25.0
Signature · 1 line
<https://www.alejandro-colomar.es>