//
//  ZYJQNResolverDelegate.h
//  ZYJHappyDNS
//
//  Created by bailong on 15/6/23.
//  Copyright (c) 2015年 Qiniu Cloud Storage. All rights reserved.
//

#import <Foundation/Foundation.h>

extern const int kZYJQNDomainHijackingCode;
extern const int kZYJQNDomainNotOwnCode;
extern const int kZYJQNDomainSeverError;

#define ZYJQN_DNS_DEFAULT_TIMEOUT 20 //seconds

@class ZYJQNDomain;
@class ZYJQNNetworkInfo;
@protocol ZYJQNResolverDelegate <NSObject>
- (NSArray *)query:(ZYJQNDomain *)domain networkInfo:(ZYJQNNetworkInfo *)netInfo error:(NSError **)error;
@end
