All Projects → yourtion → HTTPDNS-OC

yourtion / HTTPDNS-OC

Licence: MIT License
HTTPDNS 库 Objdctive-C 实现(使用DNSPod 、AliyunDNS、 Google ...)

Programming Languages

objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to HTTPDNS-OC

dnspod-httpdns-proxy
使用dnspod httpdns来防止劫持的一个小轮子,仅支持A IN标准查询
Stars: ✭ 32 (-3.03%)
Mutual labels:  dnspod, httpdns
BetterMappable
Better Mappable through Property Wrappers using ObjectMapper
Stars: ✭ 26 (-21.21%)
Mutual labels:  carthage
flareon
🦊A cloudflare DNS over HTTPs resolver client library.
Stars: ✭ 14 (-57.58%)
Mutual labels:  dns-over-https
aiodns
A All-In-One DNS Solution written in Go
Stars: ✭ 23 (-30.3%)
Mutual labels:  dns-over-https
PuiSegmentedControl
PuiSegmentedControl is a customizable for segmented control.
Stars: ✭ 19 (-42.42%)
Mutual labels:  carthage
validation-components
A collection of common validation predicates for ValidationToolkit framework
Stars: ✭ 26 (-21.21%)
Mutual labels:  carthage
Klendario
A Swift wrapper over the EventKit framework
Stars: ✭ 44 (+33.33%)
Mutual labels:  carthage
PXDToolkit
A collection of Swift utility extensions and functions
Stars: ✭ 14 (-57.58%)
Mutual labels:  carthage
NeumorphismTab
Custom TabBarController with Neumorphism.
Stars: ✭ 78 (+136.36%)
Mutual labels:  carthage
TermiNetwork
🌏 A zero-dependency networking solution for building modern and secure iOS, watchOS, macOS and tvOS applications.
Stars: ✭ 80 (+142.42%)
Mutual labels:  carthage
Lighty
Easy to use and lightweight logger for iOS, macOS, tvOS, watchOS and Linux in Swift.
Stars: ✭ 49 (+48.48%)
Mutual labels:  carthage
AdGuard-WireGuard-Unbound-Cloudflare
The Ultimate Network Security Guide 🔒 Protection | 🔎 Privacy | 🚀 Performance on home network 24/7 🕛 Accessible anywhere 🌏
Stars: ✭ 160 (+384.85%)
Mutual labels:  dns-over-https
dnspod-api-php-web
DNSPod API PHP Web Example
Stars: ✭ 88 (+166.67%)
Mutual labels:  dnspod
q
A tiny command line DNS client with support for UDP, TCP, DoT, DoH, DoQ and ODoH.
Stars: ✭ 453 (+1272.73%)
Mutual labels:  dns-over-https
BubbleShowCase-iOS
ShowCase is a framework that provides with a view that you can display to help your users understand your App features
Stars: ✭ 36 (+9.09%)
Mutual labels:  carthage
BlockiesSwift
Unique blocky identicons generator for Swift
Stars: ✭ 53 (+60.61%)
Mutual labels:  carthage
AlertBar
An easy alert on status bar
Stars: ✭ 64 (+93.94%)
Mutual labels:  carthage
ddns
a multiple providers ddns script without dependencies
Stars: ✭ 47 (+42.42%)
Mutual labels:  dnspod
clevertap-ios-sdk
CleverTap iOS SDK
Stars: ✭ 39 (+18.18%)
Mutual labels:  carthage
SwiftyAcknowledgements
Integrate acknowledgements into your iOS App
Stars: ✭ 40 (+21.21%)
Mutual labels:  carthage

HTTPDNS

Carthage compatible Version License Platform Build Status

HTTPDNS 库 Objdctive-C 实现。

支持 DNSPod、DNSPod 企业版、AliYunDNS、Google 等(方便扩展)

安装

CocoaPod

Podfile 中添加:

platform :ios, '8.0'

pod 'HTTPDNS'

Carthage

github "yourtion/HTTPDNS-OC"

使用方法

解析域名

#import <HTTPDNS/HTTPDNS.h>

// 解析记录
[[HTTPDNSClient sharedInstance] getRecord:@"www.taobao.com" callback:^(HTTPDNSRecord *record) {
	NSLog(@"IP : %@", record.ip);
   NSLog(@"description : %@", record.description);
}];

// 清除缓存
[[HTTPDNSClient sharedInstance] cleanAllCache];

切换 HTTPDNS 服务提供方

// 使用 DNSPod
[[HTTPDNSClient sharedInstance] useDNSPod];

// 使用 DNSPod 企业版
[[HTTPDNSClient sharedInstance] useDNSPodProWithAccount:@"Your DNSPod pro accound id" Key:@"Your DNSPod pro key"];

// 使用阿里云 HTTPDNS
[[HTTPDNSClient sharedInstance] useAliYunWithKey:@"Your Aliyun HTTPNDS accound id"];

// 使用 Google DNS-over-HTTP
[[HTTPDNSClient sharedInstance] useGoogle];

TODO

  • 实现 DNSPod 免费版功能
  • 实现 DNSPod 企业版功能(认证接入)
  • 实现 AliYun HTTPDNS
  • 实现 AliYun HTTPDNS With HTTPS
  • 实现 Google DNS-over-HTTP
  • 提供清除缓存方法
  • 提供自定义解析器方法
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].