Usageopendns

opendns  时间:2021-05-20  阅读:()
Package'pingr'June22,2020TitleCheckifaRemoteComputerisUpVersion2.
0.
1DescriptionCheckifaremotecomputerisup.
Itcaneitherjustcallthesystempingcommand,orcheckaspeciedTCPport.
LicenseMIT+leLICENSELazyDatatrueURLhttps://github.
com/r-lib/pingr#readmeBugReportshttps://github.
com/r-lib/pingr/issuesSuggestscovr,testthatImportsprocessx,utilsRoxygenNote7.
1.
0.
9000EncodingUTF-8NeedsCompilationyesAuthorGáborCsárdi[aut,cre]MaintainerGáborCsárdiRepositoryCRANDate/Publication2020-06-2217:40:03UTCRtopicsdocumented:pingr-package2apple_captive_test2is_online3my_ip3nsl4ping5ping_port6Index812apple_captive_testpingr-packageCheckifthelocalorremotecomputerisupDescriptionCheckifaremotecomputerisup.
Itcaneitherjustcallthesystempingcommand,orcheckaspeciedTCPport.
Author(s)Maintainer:GáborCsárdiSeeAlsoUsefullinks:https://github.
com/r-lib/pingr#readmeReportbugsathttps://github.
com/r-lib/pingr/issuesapple_captive_testDownloadApple'scaptiveportaltestDescriptionIfthetestpage,returns"Success"thatmeansthatthecomputerisconnectedtotheInternet.
Usageapple_captive_test()DetailsNotethatthisfunctionwillfailifthecomputerisofine.
Useis_online()tocheckifthecomputerisonline.
Examplesapple_captive_test()is_online3is_onlineIsthecomputeronlineDescriptionCheckifthecomputerisonline.
Itdoesthreetries:RetrieveApple'sCaptivePortaltestpage,seeapple_captive_test().
Queriesmyip.
opendns.
comonOpenDNS,seemy_ip().
Retrievesicanhazip.
comviaHTTPS,seemy_ip().
Ifanyofthesearesuccessful,itreturnsTRUE.
Usageis_online(timeout=1)ArgumentstimeoutTimeoutforthequeries.
(Note:itiscurrentlynotusedfortheDNSquery.
)ValuePossiblevalues:TRUEYes,online.
FALSENo,notonline.
Examplesis_online()my_ipQuerythecomputer'spublicIPaddressDescriptionItcanuseaDNSquerytoopendns.
com,ifmethod=="dns",oranHTTPSquerytoicanhazip.
com,seehttps://github.
com/major/icanhaz.
TheDNSqueryismuchfaster,theHTTPSqueryissecure.
Usagemy_ip(method=c("dns","https"))4nslArgumentsmethodWhethertouseaDNSorHTTPSquery.
ValueComputer'spublicIPaddressasastring.
Examplesmy_ip()my_ip(method="https")nslDNSqueryDescriptionPerformaDNSqueryforadomain.
Itsupportscustomnameservers,andqueryingDNSrecordsofcertainclassandtype.
Usagensl(domain,server=NULL,type=1L,class=1L)ArgumentsdomainDomaintoquery.
serverCustomnameserverIPaddress,touse.
NotethatthismustbeanIPaddresscurrently.
E.
g.
8.
8.
8.
8isGoogle'sDNSserver.
typeRecordtypetoquery,anintegerscalar.
1LisanArecord,28LisanAAAArecord,etc.
Seee.
g.
https://en.
wikipedia.
org/wiki/List_of_DNS_record_typesfortherecordtypes.
classQueryclass.
Thisisusually1L,i.
e.
"Internet".
Seee.
g.
https://www.
iana.
org/assignments/dns-parameters/dns-parameters.
xhtml#dns-parameters-2forallDNSclasses.
ValueAlistoftwoentriescurrently,additionalentriesmightbeaddedlater:answer:adataframeofDNSrecords,withcolumns:name,class,type,ttl,data.
dataisalistcolumnandcontainstheIP(6)addressforAandAAAArecords,butitcontainsotherdata,e.
g.
hostnameforCNAME,forotherrecords.
Ifpingrcouldnotparsearecord(itonlyparsesthemostcommonrecordstypes:A,AAAA,NA,PTR,CNAME,TXT,MX,SOA),thenthedataoftherecordisincludedasarawvector.
flags:anamedlogicalvectorofagsaa,tc,rd,ra,ad,cd.
SeetheRFC(https://www.
ietf.
org/rfc/rfc1035.
txt)forthese.
OnWindowstheyareallsettoNAcurrently.
ping5Examplesnsl("r-project.
org")nsl("google.
com",type=28L)pingPingaremoteserver,toseeifitisaliveDescriptionThisistheclassicping,usingICMPpackages.
OnlythesystemadministratorcansendICMPpackages,sowecallouttothesystem'spingutility.
Usageping(destination,continuous=FALSE,verbose=continuous,count=3L,timeout=1)ArgumentsdestinationHostnameorIPaddress.
continuousLogical,whethertokeeppinginguntiltheuserinterrupts.
verboseWhethertoprintprogressonthescreenwhilepinging.
countNumberofpingstoperform.
timeoutTimeoutforapingresponse.
ValueVectorofresponsetimes.
NAmeansnoresponse,inmilliseconds.
CurrentlyNAsarealwaysattheendofthevector,andnotintheircorrectposition.
Examplesping("8.
8.
8.
8")ping("r-project.
org")6ping_portping_portCheckifaportofaserverisactive,measureresponsetimeDescriptionCheckifaportofaserverisactive,measureresponsetimeis_up()checksifawebserverisup.
Usageping_port(destination,port=80L,continuous=FALSE,verbose=continuous,count=3L,timeout=1)is_up(destination,port=80,timeout=0.
5,fail_on_dns_error=FALSE,check_online=TRUE)ArgumentsdestinationHostnameorIPaddress.
portPort.
continuousLogical,whethertokeeppinginguntiltheuserinterrupts.
verboseWhethertoprintprogressonthescreenwhilepinging.
countNumberofpingstoperform.
timeoutTimeout,inseconds.
Howlongtowaitforapingtosucceed.
fail_on_dns_errorIfTRUEthenis_up()failsiftheDNSresolutionfails.
OtherwiseitwillreturnFALSE.
check_onlineWhethertocheckrstifthecomputerisonline.
Otherwiseitispossiblethatthecomputerisbehindaproxy,thathijackstheHTTPconnectiontodestination.
ValueVectorofresponsetimes,inmilliseconds.
NAmeansnoresponsewithinthetimeout.
ping_port7Examplesping_port("r-project.
org")is_up("google.
com")is_up("google.
com",timeout=0.
01)Indexapple_captive_test,2apple_captive_test(),3is_online,3is_online(),2is_up(ping_port),6my_ip,3my_ip(),3nsl,4ping,5ping_port,6pingr(pingr-package),2pingr-package,28

Sharktech$129/月,1Gbps不限流量,E5-2678v3(24核48线程)

Sharktech最近洛杉矶和丹佛低价配置大部分都无货了,只有荷兰机房还有少量库存,商家又提供了两款洛杉矶特价独立服务器,价格不错,CPU/内存/硬盘都是高配,1-10Gbps带宽不限流量最低129美元/月起。鲨鱼机房(Sharktech)我们也叫它SK机房,是一家成立于2003年的老牌国外主机商,提供的产品包括独立服务器租用、VPS主机等,自营机房在美国洛杉矶、丹佛、芝加哥和荷兰阿姆斯特丹等,主...

可抵御99%的攻击中国单域版cdn:9元/月7T防御 cloudsecre

官方网站:点击访问CDN客服QQ:123008公司名:贵州青辞赋文化传媒有限公司域名和IP被墙封了怎么办?用cloudsecre.com网站被攻击了怎么办?用cloudsecre.com问:黑客为什么要找网站来攻击?答:黑客需要找肉鸡。问:什么是肉鸡?答:被控的服务器和电脑主机就是肉鸡。问:肉鸡有什么作用?答:肉鸡的作用非常多,可以用来干违法的事情,通常的行为有:VPN拨号,流量P2P,攻击傀儡,...

HostKvm香港VPS七折:$5.95/月KVM-2GB内存/40GB硬盘/500GB月流量

HostKvm是一家成立于2013年的国外主机服务商,主要提供VPS主机,基于KVM架构,可选数据中心包括日本、新加坡、韩国、美国、俄罗斯、中国香港等多个地区机房,均为国内直连或优化线路,延迟较低,适合建站或者远程办公等。商家本月针对香港国际机房提供特别7折优惠码,其他机房全场8折,优惠后2G内存香港VPS每月5.95美元起,支持使用PayPal或者支付宝付款。下面以香港国际(HKGlobal)为...

opendns为你推荐
蓝牙ios6如何设置浏览器允许弹出窗口"2018年中文图书第5期新书通报",,,,,深圳做网站-确认收货手太快网店发来空箱子伺服器win7模块ios8支持ipad支持ipad支持ipadwin10关闭445端口win10家庭版怎么禁用445端口
个人域名注册 免费vps 香港vps主机 59.99美元 国内php空间 网盘申请 亚洲小于500m 域名转向 怎样建立邮箱 世界测速 免费邮件服务器 net空间 杭州电信宽带优惠 测速电信 cdn服务 深圳主机托管 asp.net虚拟主机 vpsaa xendesktop 美国主机购买 更多