问题标签 [unbound]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
31 浏览

dns - 多样化绑定服务器响应

是否可以配置 Bind9 服务器,使其在来自外部的每秒请求中使用 DNS 服务器 Cookie?

例如:

DNS 客户端请求 ----> 将服务器响应与 DNS cookie 绑定

另一个 DNS 客户端请求 ---> 绑定没有 DNS cookie 的服务器响应

0 投票
1 回答
136 浏览

python - Python:TypeError:未绑定的方法 list.copy() 需要一个参数

鉴于类中的以下方法(对不起,名称是德语),但主要问题是为什么在listeEntfernen使用liste_links = self.listeEntfernen(self.gewichte, list[x]). 我得到错误:TypeError:未绑定的方法 list.copy() 需要一个参数。我已经尝试切换和删除 self 关键字并尝试从类中调用该函数,但不明白为什么它不会用作方法中list[x]的参数。liste2listeEntfernen()

0 投票
0 回答
44 浏览

dns - 未绑定 DNS 中的拆分接口(正向和递归)

我正在尝试根据目标接口拆分未绑定的 DNS 服务。

在 Bind9 中,您可以创建 DNS“视图”并根据目标 IP ( match-destinations{};) 过滤它们,我目前已经设置好了。

不幸的是,我必须将 DNS 服务更改为未绑定,并且我必须有两个目标 IP。一个必须是转发器,一个必须是递归 DNS,因为它当前配置为绑定。

我做了很多挖掘,还没有找到配置它的方法。我知道 unbound 有' access-control-view:',但它只根据源 IP 拆分查询,而不是目标。

我知道我可以在同一台服务器上启动另一个 unbound 实例并将其配置在另一个 IP 上,但我试图避免在同一台机器上运行多个相同的服务。

是否有可能以这种方式配置 unbound,有没有人做过类似的事情?

谢谢!

0 投票
0 回答
30 浏览

google-apps-script - How to change bound script to unbound for selecting, editing, and creating derivative google docs in drive?

I developed a bound script with a UI accessible from a menu extension and clickable dropdown items embedded in a google doc file. The purpose of the script is to transition from the starting document template, allow team collaboration and editing, and after team approval, transition the final edit of the google doc into a pdf file for storage in the team archive.

As a bound script, this implementation works partially and clumsily because the script extension does not always persist through derivative documents, and cannot programatically close the parent doc editor and open another editor instance for the child document. I am hoping that changing the script platform from bound to unbound might enable a higher level of process control. What I have in mind is the following:

  1. a persistent popup dialog which, given a folder name or ID, would invoke a google drive file selector,
  2. after selection of a google doc file, enable simple document editing operations already implemented in the bound script,
  3. after custom editing of the new document, upon a button click perform the file copying/moving operations already implemented in the bound script, and
  4. close the edit window of the parent document and open a new edit window for the child document.

Any unbound script examples or guidance in how to implement the file selector and edit open/close functions would be appreciated.

Thanks.