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
无忧云官网无忧云怎么样 无忧云服务器好不好 无忧云值不值得购买 无忧云,无忧云是一家成立于2017年的老牌商家旗下的服务器销售品牌,现由深圳市云上无忧网络科技有限公司运营,是正规持证IDC/ISP/IRCS商家,主要销售国内、中国香港、国外服务器产品,线路有腾讯云国外线路、自营香港CN2线路等,都是中国大陆直连线路,非常适合免北岸建站业务需求和各种负载较高的项目,同时国内服务器也有多个BGP以及高...
华纳云怎么样?华纳云是香港老牌的IDC服务商,成立于2015年,主要提供中国香港/美国节点的服务器及网络安全产品、比如,香港服务器、香港云服务器、香港高防服务器、香港高防IP、美国云服务器、机柜出租以及云虚拟主机等。以极速 BGP 冗余网络、CN2 GIA 回国专线以及多年技能经验,帮助全球数十万家企业实现业务转型攀升。华纳云针对618返场活动,华纳云推出一系列热销产品活动,香港云服务器低至3折,...
在上个月的时候也有记录到 NameCheap 域名注册商有发布域名转入促销活动的,那时候我也有帮助自己和公司的客户通过域名转入到NC服务商这样可以实现省钱续费的目的。上个月续费转入的时候是选择9月和10月份到期的域名,这不还有几个域名年底到期的,正好看到NameCheap商家再次发布转入优惠,所以打算把剩下的还有几个看看一并转入进来。活动截止到9月20日,如果我们需要转入域名的话可以准备起来。 N...
opendns为你推荐
支持ipadipad如何上网苹果ipad无线上网卡怎么设置?win7telnet怎样开启Windows7系统中的Telnet服务x-router设置路由器是我的上网设置是x怎么弄fusionchartsFusionCharts连接数据库你是怎么解决的,能告诉我吗?谢谢啦重庆电信宽带管家重庆电信宽带安装收费micromediawww.macromedia.com 是什么网站css3按钮html点击按钮怎么弹出一个浮动的窗体chromeframe无法安装chrome frame,求助firefoxflash插件安装火狐浏览器后,老是提示安装flash player?
jsp虚拟空间 vps论坛 域名备案信息查询 isatap gitcafe 发包服务器 小米数据库 ca4249 七夕促销 中国网通测速 国外免费asp空间 1美金 东莞idc 秒杀品 ipower 带宽测速 以下 bwg 极域网 台式机主机 更多