小编Mhe*_*eni的帖子

python get-pip.py 不能在代理后面工作

我在尝试运行尝试使用以下命令获取的devstack时遇到问题,我添加了详细参数pip

sudo -H -E python /opt/stack/devstack/files/get-pip.py -c /opt/stack/devstack/tools/cap-pip.txt --verbose
Run Code Online (Sandbox Code Playgroud)

我得到了这个输出,它永远挂在那里,然后再试四次就退出了。

Created temporary directory: /tmp/pip-ephem-wheel-cache-WNf2he
Created temporary directory: /tmp/pip-req-tracker-YNDzMb
Created requirements tracker '/tmp/pip-req-tracker-YNDzMb'
Created temporary directory: /tmp/pip-install-qbbm3e
Setting pip!=8,<10 (from -c /opt/stack/devstack/tools/cap-pip.txt (line 1)) extras to: ()
Collecting pip!=8,<10 (from -c /opt/stack/devstack/tools/cap-pip.txt (line 1))
  1 location(s) to search for versions of pip:
  * https://pypi.org/simple/pip/
  Getting page https://pypi.org/simple/pip/
  Looking up "https://pypi.org/simple/pip/" in the cache
  No cache entry available
  Starting new HTTPS connection (1): pypi.org:443
Run Code Online (Sandbox Code Playgroud)

我的机器坐在一个代理后面,它使用白名单来允许一些域名,这些域名是允许的。

# …
Run Code Online (Sandbox Code Playgroud)

ssl proxy squid whitelist

5
推荐指数
1
解决办法
9355
查看次数

如何解析bind9中的子域?

在我们公司,我们有来自一个大 B 类 (/16) 地址的单独 /24 子网。

(参考图片)

我在domain1.company.com工作,从那里我能够解析同一个域xx.domain1.company.com中的所有主机名(例如 server1.doamin1.company.com)。

我也可以使用domain3.company.com 中的 DNS 服务器作为转发器访问互联网。

但是当尝试解析另一个子域(例如:server3.domain2.company.com)中的任何内容时,它失败了。

在此处输入图片说明

这就是我的named.conf.options样子。


acl "inner-net" {
    A.B.C.0/24;
    10.11.200.0/24; //private mgmt network
};

acl "blocked-from-recursion" {
    A.B.C.66/32;
};

options {
    directory "/var/cache/bind";
    // recursion yes;
        allow-recursion { inner-net; };
    blackhole { blocked-from-recursion; };
        listen-on { any; };
        allow-transfer { none; };
    allow-query { inner-net; };
        forwarders {
                A.B.E.2; // ip address of the DNS fowarder
                x.x.x.x; //second forwarder …
Run Code Online (Sandbox Code Playgroud)

domain-name-system bind subdomain internal-dns

0
推荐指数
1
解决办法
5154
查看次数