Skip to content

Commit

Permalink
Revert all changes to update DNS step
Browse files Browse the repository at this point in the history
  • Loading branch information
ebronson68 committed Sep 3, 2024
1 parent 4b0df73 commit 24d321f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/update-addns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,13 @@ jobs:
shell: pwsh
run: |
try {
Write-Host "Adding CNAME Record"
Add-DnsServerResourceRecordCName -Name "${{ env.hostName }}" -HostNameAlias "${{ env.aksIngress}}" -ZoneName "${{ env.domainName }}" -ComputerName ${{ secrets.domainController }}
}
catch {
Write-Host "Record Already Exists"
}
Write-Host "Retrieving DNS Record"
Get-DnsServerResourceRecord -ZoneName "${{ env.domainName }}" -ComputerName ${{ secrets.domainController }} | Where-Object HostName -eq "${{ env.aksIngress }}" | Format-List
try {
Write-Host "Syncing DNS Zone"
Sync-DnsServerZone -Name "${{ env.domainName }}" -ComputerName ${{ secrets.domainController }}
}
catch {
Expand Down

0 comments on commit 24d321f

Please sign in to comment.