Add support for an alternative managed DNS resolver
[mono.git] / mcs / class / System / Mono.Dns / DnsRCode.cs
1 //
2 // Mono.Dns.DnsRCode
3 //
4 // Authors:
5 //      Gonzalo Paniagua Javier (gonzalo.mono@gmail.com)
6 //
7 // Copyright 2011 Gonzalo Paniagua Javier
8 //
9 // Licensed under the Apache License, Version 2.0 (the "License");
10 // you may not use this file except in compliance with the License.
11 // You may obtain a copy of the License at
12 //
13 // http://www.apache.org/licenses/LICENSE-2.0
14 //
15 // Unless required by applicable law or agreed to in writing, software
16 // distributed under the License is distributed on an "AS IS" BASIS,
17 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 // See the License for the specific language governing permissions and
19 // limitations under the License.
20 //
21 namespace Mono.Dns {
22 #if !NET_2_0
23         public
24 #endif
25         enum DnsRCode : ushort {
26                 NoError = 0,
27                 FormErr = 1,
28                 ServFail = 2,
29                 NXDomain = 3,
30                 NotImp = 4,
31                 Refused = 5,
32                 YXDomain = 6,
33                 YXRRSet = 7,
34                 NXRRSet = 8,
35                 NotAuth = 9,
36                 NotZone = 10,
37                 BadVers = 16,
38                 BadSig = 16,
39                 BadKey = 17,
40                 BadTime = 18,
41                 BadMode = 19,
42                 BadName = 20,
43                 BadAlg = 21,
44                 BadTrunc = 22,
45         }
46 }
47