Flavio Santes | 36bbd7a | 2016-10-06 00:07:48 -0500 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (c) 2016 Intel Corporation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
| 17 | config DNS_RESOLVER |
| 18 | bool |
| 19 | prompt "DNS resolver" |
| 20 | default n |
| 21 | help |
| 22 | This option enables the DNS client side support for Zephyr |
| 23 | |
| 24 | config DNS_RESOLVER_ADDITIONAL_BUF_CTR |
| 25 | int |
| 26 | prompt "Additional DNS buffers" |
| 27 | depends on DNS_RESOLVER |
| 28 | default 0 |
| 29 | help |
| 30 | Number of additional buffers available for the DNS resolver. |
| 31 | The DNS resolver requires at least one buffer. This option |
| 32 | enables additional buffers required for multiple concurrent |
| 33 | DNS connections. |
| 34 | |
| 35 | config DNS_RESOLVER_ADDITIONAL_QUERIES |
| 36 | int |
| 37 | prompt "Additional DNS queries" |
| 38 | depends on DNS_RESOLVER |
| 39 | range 0 2 |
| 40 | default 1 |
| 41 | help |
| 42 | Number of additional DNS queries that the DNS resolver may |
| 43 | generate when the RR ANSWER only contains CNAME(s). |
| 44 | The maximum value of this variable is constrained to avoid |
| 45 | 'alias loops'. |