Commit Graph

182 Commits

Author SHA1 Message Date
Kevin Fenzi
488ead0559 dns: add reverse zones for new isolated rdu3 vlans
These vlans will be used by the stuff moving from the
rd2 community cage over to rdu3. We want it isolated
from the rest of our stuff (in particular pagure and copr builders).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-09-29 13:29:45 -07:00
Kevin Fenzi
0df178ffac dns: remove old iad2 zones from named.conf
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-05 14:49:10 -07:00
Kevin Fenzi
ff30e93f7d dns: drop old phx2 zone
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-24 10:44:24 -07:00
Nils Philippsen
6c85fda0c9 Mass remove/replace iad2 -> rdu3, 10.3. -> 10.16.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2025-07-03 20:05:02 +02:00
Kevin Fenzi
132ab49c72 dns: drop rdu3 and s390x networks from the iad2 view
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-02 09:04:07 -07:00
Kevin Fenzi
58bdf975c0 dns: actually serve the rdu3 mgmt zone to requests for it instead of the iad2 one
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-23 15:53:20 -07:00
Kevin Fenzi
0d5abc773c dns: drop duplicate zone entry
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-29 13:48:12 -07:00
Kevin Fenzi
93bb03acc6 add stg.rdu3 zone to nameservers
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-29 13:37:39 -07:00
Kevin Fenzi
3553166073 dns / rdu3: turns out we need the rdu3 zone in rdu3
Was missing from the RDU3 view. Adding this will let rdu3 hosts resolve
rdu3.fedoraproject.org addresses.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-28 13:13:56 -07:00
Kevin Fenzi
8c5b664a03 dns: do not match all of 10.x.x.x or first one wins
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-27 17:20:31 -07:00
Kevin Fenzi
3e5a49e4c7 dns / rdu3: more fixes. Correct path for zones and drop expired signatures
The zones I added are not under a view, they are the same for everyone.
And some old no longer used zones are expired and the new named in
rhel9.6 will not load them. So, just drop the signed ones for now.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-27 14:11:30 -07:00
Kevin Fenzi
5a7b65155a dns: rdu3: fix some issues with dns in rdu3
First the mgmt zone was loading the wrong thing.
Next, rdu3 does in fact need to be able to resolve iad2 zones, because
we need to be able to resolve the ipa servers in order for sssd
to work.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-27 13:43:45 -07:00
Kevin Fenzi
829c43cf28 dns: actually use the RDU3 view/zone for RDU3
Mistakenly I copied this from IAD2 and failed to change the zone that it
was loading, so it was always giving the IAD2 view in RDU3.
This should fix that.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-22 12:25:11 -07:00
Kevin Fenzi
5d1e014ccd dns / iad2: add mgmt.rdu3 to iad view
We want to be able to ping/resolve the rdu3 mgmt hosts from iad2.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-14 15:17:42 -07:00
Kevin Fenzi
0835a63791 dns / rdu3: add in rdu3 zones to dns
This should setup the rdu3 vlans with initial dns, which is just a copy
of our iad2 networks with 10.3 changing to 10.16.

Once rdu3 machines have network we should be able to use these to let
rdu3 hosts query the regular dns servers for things.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-14 15:09:01 -07:00
Michal Konecny
2ec055db6f Use first uppercase letter for all handlers
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.

I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```

Then I went through all the changes and removed the ones that wasn't
expected to be changed.

Fixes https://pagure.io/fedora-infrastructure/issue/12391

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-10 20:31:49 +00:00
Ryan Lerch
25391e95b7 ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
Replaces many references to  package: with ansible.builtin.package

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:28:00 +10:00
Ryan Lerch
462176464b ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
Replaces many references to  command: with ansible.builtin.command

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:26:47 +10:00
Ryan Lerch
6a3816dfdc ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
Replaces many references to 'copy' with ansible.builtin.copy

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:43:31 +10:00
Ryan Lerch
691adee6ee Fix name[casing] ansible-lint issues
fix 1900 failures of the following case issue:

`name[casing]: All names should start with an uppercase letter.`

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 20:20:07 +10:00
Ryan Lerch
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Kevin Fenzi
1c7f6efea0 dns: fix syntax
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-30 14:36:42 -07:00
Kevin Fenzi
5b578f0aed dns: remove obsolete dnssec directive
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-30 14:20:12 -07:00
Kevin Fenzi
69d82a9cdb bvmhost-s390x01.stg - inital work to add new stagin s390x
This is a new z16 lpar in rdu.
This is for staging.
We should not mess with its network because it has a nice weird bonded
set of interfaces that we have a bridge on top of.
Set to make a new buildvm-s390x-01.stg on it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-02-20 12:21:45 -08:00
Kevin Fenzi
7d2247369f dns: more tweaking for ddos handling
Increase the window so we keep track of more queries
Set the max number of nxdomains to try and drop those.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-14 15:28:46 -07:00
Kevin Fenzi
e6d08451ca dns: adjust named config for DDoS
Increase a number of values, add some limits.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-14 15:20:44 -07:00
Kevin Fenzi
db012e0f94 add proyectofedora.org domain to dns and proxies
This domain is already in the dns repo (unsigned).
So, this adds it to named.conf and adds it as an alias on the
fedoraproject.org site for now.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-03-01 15:12:06 -08:00
Patrick Uiterwijk
3f79919102 Add distro.builders zone to zones.conf
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2022-08-24 11:58:00 +02:00
Stephen Smoogen
16b5e17c19 Fix DNS issues in IAD2
Problem: Fedora Infrastructure has used various DNS servers in
PHX2. Those no longer exist. This is causing breakage in DNS and many
other internal services.

Fix: Work with Red Hat IT
     - to get new DNS servers which are infoblox devices.
     - get firewall rules fixed to that
     - update named.conf to have new ips
     - remove old ips which no longer exist.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2022-07-20 09:45:04 -04:00
Kevin Fenzi
56d9be2bf3 dns: named.conf use /var/named for dir instead of /
I think this is leftover from chroot named days. New bind requires a
writable directory for this and default is /var/named.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-01 13:42:02 -07:00
Kevin Fenzi
0071a5e9c7 named.conf: drop specifying port on transfer-source as it fails on new bind
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-01 13:03:46 -07:00
Kevin Fenzi
b7a031c9fd fedoraloveskde.org: add site and pipeline to deploy it and dns zone
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-06-14 12:49:11 -07:00
Stephen Smoogen
a67c6ed272 Did not read pspaceks comment correctly. If we were running fedora on nameservers we could go to 100k. For EL8/7 we can go to 1000
Signed-off-by: Stephen Smoogen <smooge@smoogespace.com>
2021-04-07 10:40:45 -04:00
Stephen Smoogen
a81783e13e Update per pspacek to 100k TCP connections
Signed-off-by: Stephen Smoogen <smooge@smoogespace.com>
2021-04-07 10:32:16 -04:00
Stephen Smoogen
764ef65e98 Change named settings for tcp connections
In order to try and fix the number of TCP connections allowed to get
to the dns servers by increasing from the default 100 to 1000. This
will hopefully help fix the issue in
https://pagure.io/fedora-infrastructure/issue/9850 where the name
servers are not able to answer TCP connections after a while.

Signed-off-by: Stephen Smoogen <smooge@smoogespace.com>
2021-04-07 14:27:29 +00:00
Stephen Smoogen
2bb54719ba add fedora.im zone so that we can answer whois for the zone.
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2020-12-09 17:53:35 -05:00
Stephen Smoogen
2d05b68fd4 remove the UK from the EU so that DNS for the continent works again. 2020-11-17 15:41:36 -05:00
Mark O'Brien
921b1df1ae dns: add more countries to zones 2020-11-17 19:05:46 +00:00
Stephen Smoogen
6de5698aa6 Add in signed keys for iad2 and rdu-cc zones.
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2020-11-03 16:56:36 -05:00
Mark O'Brien
8e7dcdbf8d dns - add SA zone to named.conf 2020-10-01 14:46:28 +01:00
Stephen Smoogen
b6e0d92552 add in an RDU-CC zone for the public ip addresses we have there (since we have a lot) 2020-08-24 16:29:44 -04:00
Kevin Fenzi
7eede0312f Revert "[dns] add South America(SA) region for proxies"
This reverts commit 8c3d08396b.

Landing this before changes in DNS repo left the SA region with
no proxies. ;( Reverting it until we can land it all (nearly) at
once.
2020-08-22 09:52:06 -07:00
Mark O'Brien
8c3d08396b [dns] add South America(SA) region for proxies 2020-08-21 14:54:08 +01:00
Mark O'Brien
c920b83596 [dns] add new africa region for proxies 2020-08-13 12:43:27 +00:00
Stephen Smoogen
b24456a0fb go through old git diff of named.conf and put in values we had before move happened on IAD2 for the RDU2 entwork 2020-07-14 17:42:55 -04:00
Stephen Smoogen
d058b29071 remove duplicate declarations of 10.6.0 zone.. just becuase you had 0 before does not mean you should have 2 afterwords 2020-06-18 13:58:55 -04:00
Stephen Smoogen
f2132cc28b update DNS to remove zones no longer in existance to RDU view and to add in 10.16.0 to IAD2 where it should have been in the first place. This should fix the unused DNS 2020-06-18 13:32:07 -04:00
Stephen Smoogen
25796c2fd6 make sure phx2 zone is in the correct view 2020-06-16 16:50:00 -04:00
Stephen Smoogen
ed6534c0cf remove phx2 zones from nameservers. thank you again phx2 2020-06-15 15:53:02 -04:00
Stephen Smoogen
97dd621b88 named.conf: fix missing named.conf semicolon to allow rhit transfers 2020-06-11 10:42:45 -04:00