Git Product home page Git Product logo

Comments (4)

jprovaznik avatar jprovaznik commented on August 22, 2024

Could you please paste content of /var/lib/ansible/host_vars/loadbalancer.yml file on infra node?

from openshift-on-openstack.

jprovaznik avatar jprovaznik commented on August 22, 2024

Nvm, I have a reproducer.

from openshift-on-openstack.

juddmaltin-dell avatar juddmaltin-dell commented on August 22, 2024

Remote query denied. Useless to clients.

Jun  2 17:37:21 localhost named[9493]: client 192.168.191.44#61102 (ossdell-lb.example.com): query 'ossdell-lb.example.com/A/IN' denied
Jun  2 17:37:21 localhost named[9493]: client 192.168.191.44#61779 (ossdell-lb.example.com): query 'ossdell-lb.example.com/A/IN' denied
[root@ossdell-infra log]# cat /etc/named.conf
options
{
    directory "/var/named";

    allow-query { 192.168.0.0/24; };

    recursion yes;

    forwarders {
                8.8.4.4;
                8.8.8.8;
            };
};

zone "example.com" IN {
    type master;
    file "openshift-cluster.zone";
};
[root@ossdell-infra log]#

Why should allow-query be so narrow? Need to allow queries and answers for appropriate clients. I.e., "inside" queries and "outside" queries.

from openshift-on-openstack.

jprovaznik avatar jprovaznik commented on August 22, 2024

Hi, the purpose of the DNS server is purely internal - serve node DNS queries. The only outside entry point should be loadbalancer's hostname/ip which are both part of the heat stack output. I think we should allow automated update of the real external DNS server (this step is now manual) rather than exposing the internal DNS.

FWIW the named.conf template is part of openshift-ansible dns role - https://github.com/openshift/openshift-ansible/blob/master/roles/dns/templates/named.conf#L5

from openshift-on-openstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.