Blame bind96-rh507469.patch
|
Adam Tkac |
583a06 |
diff -up bind-9.6.1/bin/dig/dighost.c.rh507469 bind-9.6.1/bin/dig/dighost.c
|
|
Adam Tkac |
583a06 |
--- bind-9.6.1/bin/dig/dighost.c.rh507469 2009-06-23 15:52:08.974779538 +0200
|
|
Adam Tkac |
583a06 |
+++ bind-9.6.1/bin/dig/dighost.c 2009-06-23 15:54:19.934977907 +0200
|
|
Adam Tkac |
583a06 |
@@ -1064,7 +1064,9 @@ setup_system(void) {
|
|
Adam Tkac |
583a06 |
debug("ndots is %d.", ndots);
|
|
Adam Tkac |
583a06 |
}
|
|
Adam Tkac |
583a06 |
|
|
Adam Tkac |
583a06 |
- copy_server_list(lwconf, &server_list);
|
|
Adam Tkac |
583a06 |
+ /* If user doesn't specify server use nameservers from resolv.conf */
|
|
Adam Tkac |
583a06 |
+ if (ISC_LIST_EMPTY(server_list))
|
|
Adam Tkac |
583a06 |
+ copy_server_list(lwconf, &server_list);
|
|
Adam Tkac |
583a06 |
|
|
Adam Tkac |
583a06 |
/* If we don't find a nameserver fall back to localhost */
|
|
Adam Tkac |
583a06 |
if (ISC_LIST_EMPTY(server_list)) {
|