์ด ํ์ด์ง์์๋ Cloud Domains์ ๊ธฐ์กด ๋๋ฉ์ธ์ ๋ํ ๋ฑ๋ก ์ค์ (์ฐ๋ฝ์ฒ ์ค์ , ๊ฐ์ธ ์ ๋ณด ๋ณดํธ ์ค์ , DNS ์ค์ ๋ฑ)์ ์์ ํ๋ ๋ฐฉ๋ฒ์ ์ค๋ช ํฉ๋๋ค.
์์ํ๊ธฐ ์ ์
์์ ์ ์ํํ๊ธฐ ์ ์ Cloud Domains ๊ฐ์ ๋ฐ ๋ฌธ์ ํด๊ฒฐ ํ์ด์ง์์ ๋ค์ ์ ๋ณด๋ฅผ ๊ฒํ ํฉ๋๋ค.
- ์ฐ๋ฝ์ฒ ์ ๋ณด
- ๊ฐ์ธ์ ๋ณด ๋ณดํธ ๊ธฐ๋ฅ
- ํ์ฌ์ ๋๋ฉ์ธ์ ๋ฑ๋กํ๊ฑฐ๋ ์ด์ ํ๋ ๋์ ์ฐ๋ฝํ ์ ์๋ ์ฐ๋ฝ์ฒ ์ ๋ณด
์ฐ๋ฝ์ฒ ๋ฐ ๊ฐ์ธ ์ ๋ณด ๋ณดํธ ์ค์ ์์
๋๋ฉ์ธ์ ๋ฑ๋กํ ๋ ํด๋น ๋๋ฉ์ธ์ ์ฐ๋ฝ์ฒ ์ ๋ณด๋ฅผ ์ ์ถํด์ผ ํฉ๋๋ค.
์ด๋ฉ์ผ, ์ ํ๋ฒํธ, ์ฐํธ ์ฃผ์์ ๊ฐ์ ๋ฑ๋ก ์ฐ๋ฝ์ฒ ์ค์ ์ ์์ ํ๊ณ ์ฐ๋ฝ์ฒ ์ ๋ณด์ ๋ํ ๊ฐ์ธ ์ ๋ณด ๋ณดํธ ์ค์ ์ ์ ํํ๋ ค๋ฉด ๋ค์ ๋จ๊ณ๋ฅผ ์๋ฃํฉ๋๋ค.
Console
Google Cloud ์ฝ์์์ Cloud Domains ํ์ด์ง๋ก ์ด๋ํฉ๋๋ค.
์์ ํ ๋๋ฉ์ธ ์ด๋ฆ์ ํด๋ฆญํฉ๋๋ค. ๋๋ฉ์ธ ์ด๋ฆ ์์ ์๋
๋๋ณด๊ธฐ๋ฅผ ํด๋ฆญํ์ฌ ์์ ๋ฉ๋ด๋ฅผ ํ์ํ ์๋ ์์ต๋๋ค.๋๋ฉ์ธ๊ณผ ์ฐ๊ฒฐ๋ ์ด๋ฆ, ์ฃผ์, ์ด๋ฉ์ผ์ ํฌํจํ ์ฐ๋ฝ์ฒ ์ธ๋ถ์ ๋ณด๋ฅผ ์์ ํ๋ ค๋ฉด ์ฐ๋ฝ์ฒ ์ธ๋ถ์ ๋ณด ์์ ์ ํด๋ฆญํฉ๋๋ค.
ํ์ํ ๋ณ๊ฒฝ์ฌํญ์ ์ ์ฉํฉ๋๋ค.
๊ฐ์ธ ์ ๋ณด ๋ณดํธ ์ค์ ์ ์ ํํ๊ฑฐ๋ ์์ ํฉ๋๋ค. ์ ํํ ๋๋ฉ์ธ์์ ์ฌ์ฉํ ์ ์๋ ๊ฐ์ธ ์ ๋ณด ๋ณดํธ ์ต์ ์ด ๋ค๋ฅผ ์ ์์ต๋๋ค.
์ ์ฅ์ ํด๋ฆญํฉ๋๋ค.
gcloud
gcloud domains registrations configure
contacts
๋ช
๋ น์ด๋ฅผ ์ฌ์ฉํฉ๋๋ค.
gcloud domains registrations configure contacts DOMAIN_NAME
DOMAIN_NAME
์ ๋ฑ๋ก๋ ๋๋ฉ์ธ์ ์ด๋ฆ์ผ๋ก ๋ฐ๊ฟ๋๋ค(์: example.app
).
๋ค์ ์์์์๋ example.com
๋๋ฉ์ธ์ ๊ฐ์ธ ์ ๋ณด ๋ณดํธ ์ค์ ์ ๋ณ๊ฒฝํ ๋์ ์ถ๋ ฅ์ ๋ณด์ฌ์ค๋๋ค.
Contact data not provided using the --contact-data-from-file flag. Do you want to enter it interactively (y/N)? y Which contact do you want to change? [1] all the contacts to the same value [2] registrant contact [3] admin contact [4] technical contact [5] cancel Please enter your numeric choice (1): 1 Full name: NAME Organization (if applicable): ORGANIZATION Email (darcy@gmail.com): EMAIL_ADDRESS Enter phone number with country code, e.g. "+1.8005550123". Phone number: PHONE_NUMBER Enter fax number with country code, e.g. "+1.8005550123". Fax number (if applicable): FAX_NUMBER Enter two-letter country code, e.g. "US" or "PL". Refer to the guidelines for entering address field information at https://support.google.com/business/answer/6397478. Country / Region code: COUNTRY_CODE Postal / ZIP code: ZIP_CODE State / Administrative area (if applicable): STATE City / Locality: CITY Address Line 1: ADDRESS_LINE_1 Address Line 2 (if applicable): ADDRESS_LINE_2 Address Line 3 (if applicable): Your current contact privacy is REDACTED_CONTACT_DATA. Do you want to change it (y/N)? y Specify contact privacy [1] private-contact-data [2] redacted-contact-data [3] public-contact-data Please enter your numeric choice (2): 1 Waiting for 'operation-1596738116518-5ac39903c0348-5391fe45-78f57284' to complete...done. Updated registration [example.com] Note: The contact settings are currently pending. In order to finalize the update you need to confirm the change. An email with instructions has been sent to the registrant.
๋ค์์ ๋ฐ๊ฟ๋๋ค.
NAME
: ์ ์ฒด ์ด๋ฆ(์:Alice Smith
)ORGANIZATION
: (์ ํ์ฌํญ) ์กฐ์ง(์:Doe Corp
)EMAIL_ADDRESS
: ์ธ์ฆ์ ์ํ ์ด๋ฉ์ผ ์ฃผ์(์:alice@example.net
)PHONE_NUMBER
: ๊ตญ๊ฐ ์ฝ๋ ํฌํจ ํ์์ ์ฐ๋ฝ์ฒ ์ ํ๋ฒํธ(์:+1-800-555-0123
)FAX_NUMBER
: ๊ตญ๊ฐ ์ฝ๋ ํฌํจ ํ์์ ์ฐ๋ฝ์ฒ ํฉ์ค ๋ฒํธ(์:+1-800-555-0123
)COUNTRY_CODE
: ์ฃผ์์ ๊ตญ๊ฐ ๋๋ ๋ฆฌ์ ์ฝ๋(์: ๋ฏธ๊ตญ์ ๊ฒฝ์ฐUS
)ZIP_CODE
: ์ฃผ์์ ์ฐํธ๋ฒํธ(์:94043
)STATE
: ์ฃผ์์ ์ฃผ ๋๋ ํ์ ๊ตฌ์ญ(์:CA
)CITY
: ์ฃผ์์ ๋์ ๋๋ ์ง์ญ(์:Mountain View
)ADDRESS_LINE_1
: ๋ฑ๋ก์์ ์ฒซ ๋ฒ์งธ ์ฃผ์ ์ค(์:1599 Bayview Parkway
)์ฃผ์ ์ค์ ์ต๋ 5๊ฐ๊น์ง ์ฌ์ฉํ ์ ์์ง๋ง ์ฒซ ๋ฒ์งธ ์ฃผ์๋ง ํ์ํฉ๋๋ค.
ADDRESS_LINE_2
: (์ ํ์ฌํญ) ๋ฑ๋ก์์ ๋ ๋ฒ์งธ ์ฃผ์ ์ค(์:APT. 123
)
API
registrations.configureContactSettings
๋ฉ์๋๋ฅผ ์ฌ์ฉํฉ๋๋ค.
POST https://domains.googleapis.com/v1/projects/PROJECT_ID/locations/global/registrations/DOMAIN_NAME:configureContactSettings
๋ค์์ ๋ฐ๊ฟ๋๋ค.
PROJECT_ID
: ํ๋ก์ ํธ์ ์ด๋ฆDOMAIN_NAME
: ์ฐ๋ฝ์ฒ ์ค์ ์ ๋ณ๊ฒฝํ๋ ค๋ ๋๋ฉ์ธ
์์ฒญ ๋ณธ๋ฌธ์ ๋ค์ ์ค ํ๋์ผ ์ ์์ต๋๋ค.
๋ฑ๋ก์ ์ฐ๋ฝ์ฒ์ ์ด๋ฉ์ผ ์ฃผ์๋ฅผ ๋ณ๊ฒฝํ๋ ค๋ฉด ๋ค์์ ์ฌ์ฉํฉ๋๋ค.
{ "contactSettings": { "registrantContact": { "email": "new-registrant@example.com", }, }, "updateMask": "registrantContact.email", }
๊ฐ์ธ ์ ๋ณด ๋ณดํธ ์ค์ ์ ๊ณต๊ฐ๋ก ๋ณ๊ฒฝํ๋ ค๋ฉด ๋ค์์ ์ฌ์ฉํฉ๋๋ค.
{ "contactSettings": { "privacy": "PUBLIC_CONTACT_DATA", }, "updateMask": "privacy", "contactNotices": ["PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT"], }
์ ์ฒด ๋ฑ๋ก์ ์ฐ๋ฝ์ฒ ๋ฐ ๊ฐ์ธ ์ ๋ณด ๋ณดํธ ์ค์ ์ ๋ณ๊ฒฝํ๋ ค๋ฉด ๋ค์์ ์ฌ์ฉํฉ๋๋ค.
{ "contactSettings": { "privacy": "CONTACT_PRIVACY", "registrantContact": { "postalAddress": { "regionCode": "REGION_CODE", "postalCode": "POSTAL_CODE", "administrativeArea": "SUBDIVISION", "locality": "CITY", "addressLines": [ "ADDRESS" ], "recipients": [ "CONTACT_NAME" ], "organization": "ORGANIZATION" }, "email": "EMAIL_ADDRESS", "phoneNumber": "PHONE_NUMBER", "faxNumber": "FAX_NUMBER" } }, "updateMask": "privacy,registrantContact", }
๋ณ๊ฒฝํ๋ ค๋
registrantContact
,adminContact
๋๋technicalContact
์ ๋ค์ ๊ฐ์ ๋ฐ๊ฟ๋๋ค. ๊ฐ ์ฐ๋ฝ์ฒ ์ ํ์ ๋ํ ์์ธํ ๋ด์ฉ์ ์ฐ๋ฝ์ฒ ๊ฐ์ธ ์ ๋ณด ๋ณดํธ๋ฅผ ์ฐธ์กฐํ์ธ์.CONTACT_PRIVACY
: ์ฐ๋ฝ์ฒ ๋ฐ์ดํฐ์ ์ ํธํ๋ ๊ฐ์ธ ์ ๋ณด ๋ณดํธ ์ค์ REGION_CODE
: ์ฃผ์์ ๋ฆฌ์ ์ฝ๋(์: ๋ฏธ๊ตญ์ ๊ฒฝ์ฐUS
)POSTAL_CODE
: ์ฃผ์์ ์ฐํธ๋ฒํธ(์:94043
)SUBDIVISION
: ์ฃผ, ์ฃผ/๋, ๋, ํ๊ณผ ๊ฐ์ ์ฃผ์์ ์ต์์ ํ์ ๊ตฌ์ญ(์: ์บ๋ฆฌํฌ๋์์ฃผ์ ๊ฒฝ์ฐCA
)CITY
: ์ฃผ์์ ์/๋ ์ด๋ฆ(์:Mountain View
)ADDRESS
: ์ฃผ์์ ํ์ ์์ค(์:1599 Amphitheater Parkway
)CONTACT_NAME
: ์ฐ๋ฝ์ฒ ์ด๋ฆORGANIZATION
: (์ ํ์ฌํญ) ๋๋ฉ์ธ์ ๋ฑ๋กํ๋ ์กฐ์ง์ ์ด๋ฆ(์:Doe Corporation
)EMAIL_ADDRESS
: ์ฐ๋ฝ์ฒ์ ์ด๋ฉ์ผ ์ฃผ์(์:john@example.com
)PHONE_NUMBER
: ๊ตญ๊ฐ ์ฝ๋ ํฌํจ ํ์์ ์ฐ๋ฝ์ฒ ์ ํ๋ฒํธ(์:+1-800-555-0123
)FAX_NUMBER
: (์ ํ์ฌํญ) ๊ตญ๊ฐ ์ฝ๋ ํฌํจ ํ์์ ์ฐ๋ฝ์ฒ ํฉ์ค ๋ฒํธ(์:+1-800-555-0123
)
DNS ์ค์ ์์
๋๋ฉ์ธ์ ๊ถํ ๋ค์์๋ฒ๋ฅผ ํฌํจํ์ฌ ๋ฑ๋ก์ DNS ์ค์ ์ ์์ ํ๊ฑฐ๋ ๊ตฌ์ฑํ๋ ค๋ฉด ๋ค์ ๋จ๊ณ๋ฅผ ์๋ฃํฉ๋๋ค.
Console
Google Cloud ์ฝ์์์ Cloud Domains ํ์ด์ง๋ก ์ด๋ํฉ๋๋ค.
์์ ํ ๋๋ฉ์ธ ์ด๋ฆ์ ํด๋ฆญํฉ๋๋ค. ๋๋ฉ์ธ ์ด๋ฆ ์์ ์๋
๋๋ณด๊ธฐ๋ฅผ ํด๋ฆญํ์ฌ ์์ ๋ฉ๋ด๋ฅผ ํ์ํ ์๋ ์์ต๋๋ค.DNS ์ ๊ณต์ ์ฒด ์ต์ ๊ณผ DNSSEC ์ค์ ์ ํฌํจํ DNS ์ธ๋ถ์ ๋ณด๋ฅผ ์์ ํ๋ ค๋ฉด DNS ์ธ๋ถ์ ๋ณด ์์ ์ ํด๋ฆญํฉ๋๋ค. ๋ค์ ํ์ ์ต์ ์ค ํ๋๋ฅผ ์ ํํฉ๋๋ค.
DNS ์ ๊ณต์ ์ฒด ์ค๋ช ๋น์ฉ Cloud DNS Google์์๋ Cloud DNS๋ฅผ ๋ชจ๋ ๋ค์์๋ฒ์ DNS ์ ๊ณต์ ์ฒด๋ก ์ฌ์ฉํ ๊ฒ์ ๊ถ์ฅํฉ๋๋ค. ์ถ๊ฐ Cloud DNS ์๊ธ์ด ๋ถ๊ณผ๋ฉ๋๋ค. ์์ธํ ๋ด์ฉ์ Cloud DNS ๊ฐ๊ฒฉ ์ฑ ์ ํ์ด์ง๋ฅผ ์ฐธ์กฐํ์ธ์. ์ปค์คํ ๋ค์์๋ฒ ์ด ์ต์ ์ ์ ํํ๋ฉด Cloud Domains๋ฅผ ์ฌ์ฉํ์ฌ ๋ค์์๋ฒ๋ฅผ ๊ตฌ์ฑํ ํ ์๋ ํํฐ DNS ์ ๊ณต์ ์ฒด๋ฅผ ํตํด DNS ๋ฆฌ์์ค ๋ ์ฝ๋๋ฅผ ๊ตฌ์ฑํ ์ ์์ต๋๋ค. DNS ์ ๊ณต์ ์ฒด๋ฅผ ํ์ธํฉ๋๋ค. ์ ์ฅ์ ํด๋ฆญํฉ๋๋ค.
gcloud
gcloud domains
registrations configure dns
๋ช
๋ น์ด๋ฅผ ์ฌ์ฉํฉ๋๋ค.
gcloud domains registrations configure dns DOMAIN_NAME
DOMAIN_NAME
์ ๋ฑ๋ก๋ ๋๋ฉ์ธ์ ์ด๋ฆ์ผ๋ก ๋ฐ๊ฟ๋๋ค(์: example.app
).
๋ค์ ์์๋ example.com
๋๋ฉ์ธ์ DNS ์ ๊ณต์
์ฒด๋ฅผ Google Domains์์ Cloud DNS๋ก ๋ณ๊ฒฝํ๋ ๊ฒฝ์ฐ์ ์ถ๋ ฅ์ ๋ณด์ฌ์ค๋๋ค.
Your current DNS settings are: googleDomainsDns: dsState: DS_RECORDS_UNPUBLISHED nameServers: โ ns-cloud-b1.googledomains.com โ ns-cloud-b2.googledomains.com โ ns-cloud-b3.googledomains.com โ ns-cloud-b4.googledomains.com You can provide your DNS settings by specifying name servers or Cloud DNS Managed Zone name [1] Provide name servers list [2] Provide Cloud DNS Managed Zone name [4] cancel Please enter your numeric choice (4): 2 Cloud DNS Managed Zone name: example-app Waiting for 'operation-1596738623568-5ac39ae74fa6f-1025c18d-9d3a4872' to complete...done. Updated registration [example.com].
API
registrations.configureDnsSettings
๋ฉ์๋๋ฅผ ์ฌ์ฉํฉ๋๋ค.
POST https://domains.googleapis.com/v1/projects/PROJECT_ID/locations/global/registrations/DOMAIN_NAME:configureDnsSettings
๋ค์์ ๋ฐ๊ฟ๋๋ค.
PROJECT_ID
: ํ๋ก์ ํธ์ ์ด๋ฆDOMAIN_NAME
: ์ฐ๋ฝ์ฒ ์ค์ ์ ๋ณ๊ฒฝํ๋ ค๋ ๋๋ฉ์ธ
์์ฒญ ๋ณธ๋ฌธ์ ๋ค์ ์ค ํ๋์ผ ์ ์์ต๋๋ค.
- ์ปค์คํ
๋ค์์๋ฒ๋ฅผ ์
๋ฐ์ดํธํ๊ฑฐ๋ ์ ํํ๋ ค๋ฉด ๋ค์์ ์ฌ์ฉํฉ๋๋ค.
{ "dnsSettings": { "customDns": { "nameServers": [ "ns-cloud-a1.googledomains.com", "ns-cloud-a2.googledomains.com", "ns-cloud-a3.googledomains.com", "ns-cloud-a4.googledomains.com" ] } }, "updateMask": "customDns" }
๋๋ฉ์ธ ์ด๋ฆ ์๋ ๊ฐฑ์ ์ค์ง
๋ชจ๋ ๋๋ฉ์ธ์ ์๋์ผ๋ก ๊ฐฑ์ ๋ฉ๋๋ค. ๋๋ฉ์ธ์ด ๊ฐฑ์ ๋์ง ์๋๋ก ํ๋ ค๋ฉด ๋ง๋ฃ์ผ๋ก๋ถํฐ ์ต์ 15์ผ ์ ์ ์๋ ๊ฐฑ์ ์ ์ฌ์ฉ ์ค์งํ์ธ์.
์ฝ์
- Google Cloud ์ฝ์์์ Cloud Domains ํ์ด์ง๋ก ์ด๋ํฉ๋๋ค. Cloud Domains๋ก ์ด๋
- ์๋ ๊ฐฑ์ ์ ์ค์งํ๋ ค๋ ๋๋ฉ์ธ ์ด๋ฆ์ ํด๋ฆญํฉ๋๋ค.
- ์๋ ๊ฐฑ์ ์ฌ์ฉ ์ค์ง๋ฅผ ํด๋ฆญํฉ๋๋ค.
- ์๋ ๊ฐฑ์ ์ฌ์ฉ ์ค์ง ๋ํ์์์์ ์ฌ์ฉ ์ค์ง๋ฅผ ํด๋ฆญํฉ๋๋ค.
gcloud
gcloud domains registrations configure management
๋ช
๋ น์ด๋ฅผ ์ฌ์ฉํฉ๋๋ค.
gcloud domains registrations configure management DOMAIN_NAME \ --preferred-renewal-method=renewal-disabled
DOMAIN_NAME
์ ๋ฑ๋ก๋ ๋๋ฉ์ธ์ ์ด๋ฆ์ผ๋ก ๋ฐ๊ฟ๋๋ค(์: example.app
).
๋๋ฉ์ธ ์ด๋ฆ ์๋ ๊ฐฑ์ ์ฌ์ฉ ์ค์
์๋ ๊ฐฑ์ ์ด ์ฌ์ฉ ์ค์ง๋ ๊ฒฝ์ฐ ๋๋ฉ์ธ์ ๊ฐฑ์ ํ๋ ค๋ฉด ๋ง๋ฃ์ผ๋ก๋ถํฐ ์ต์ 1์ผ ์ ์ ์๋ ๊ฐฑ์ ์ ์ฌ์ฉ ์ค์ ํด์ผ ํฉ๋๋ค.
์ฝ์
- Google Cloud ์ฝ์์์ Cloud Domains ํ์ด์ง๋ก ์ด๋ํฉ๋๋ค. Cloud Domains๋ก ์ด๋
- ์๋ ๊ฐฑ์ ์ ์ฌ์ฉ ์ค์ ํ๋ ค๋ ๋๋ฉ์ธ ์ด๋ฆ์ ํด๋ฆญํฉ๋๋ค.
- ์๋ ๊ฐฑ์ ์ฌ์ฉ ์ค์ ์ ํด๋ฆญํฉ๋๋ค.
- ์๋ ๊ฐฑ์ ์ฌ์ฉ ์ค์ ๋ํ์์์์ ์ฌ์ฉ ์ค์ ์ ํด๋ฆญํฉ๋๋ค.
gcloud
gcloud domains registrations configure management
๋ช
๋ น์ด๋ฅผ ์ฌ์ฉํฉ๋๋ค.
gcloud domains registrations configure management DOMAIN_NAME \ --preferred-renewal-method=automatic-renewal
DOMAIN_NAME
์ ๋ฑ๋ก๋ ๋๋ฉ์ธ์ ์ด๋ฆ์ผ๋ก ๋ฐ๊ฟ๋๋ค(์: example.app
).
๋ค์ ๋จ๊ณ
- ๋ฑ๋ก๋ ๋๋ฉ์ธ ๋ชฉ๋ก์ ๋ณด๋ ค๋ฉด ๋ฑ๋ก๋ ๋๋ฉ์ธ ๋์ด์ ์ฐธ์กฐํ์ธ์.
- ๋๋ฉ์ธ์ ์ญ์ ํ๋ ค๋ฉด ๋ฑ๋ก๋ ๋๋ฉ์ธ ์ญ์ ๋ฅผ ์ฐธ์กฐํ์ธ์.
- API ์ ๋ณด์ ์ก์ธ์คํ๋ ค๋ฉด Cloud Domains API๋ฅผ ์ฐธ์กฐํ์ธ์.
- Cloud Domains๋ฅผ ์ฌ์ฉํ ๋ ๋ฐ์ํ ์ ์๋ ์ผ๋ฐ์ ์ธ ๋ฌธ์ ์ ๋ํ ํด๊ฒฐ์ฑ ์ ์ฐพ์ผ๋ ค๋ฉด ๋ฌธ์ ํด๊ฒฐ์ ์ฐธ์กฐํ์ธ์.