我有Rails 4应用程序托管在Heroku欧盟。scaryguy@ubuntu:~/Sites/xxxxx.com$ heroku run console/app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:8
我正在尝试使用以下powershell脚本解析最新的DNS CName。但是,由于DNS服务器缓存,我得到的缓存主机名不是最新的CName。有没有办法避免这种情况,并获得最新的结果?(与digwebinterface.com相同) 之后,我将调用第三方DNS管理API,它将修改或创建DNS的CName映射。为此,我需要最新的dns数据。#resolve the dns host name
$resolvedCName = Resolve-DnsName