vania-janet/multiturn-rag-retrieval-data huggingface dataset:
<-- </section "id="section-delete-waf-override-examples" "> --><-- </section "id="section-delete-waf-override" "> --><-- </section "id="section-waf" "> --><-- <section "id="section-authenticated-origin-pull" "> --> Authenticated Origin Pull Manage Authenticated Origin Pull by using the following authenticated-origin-pull commands.<-- <section "id="section-show-authenticated-origin-pull-settings" "> --> ibmcloud cis authenticated-origin-pull-settings Get authenticated origin pull settings for a domain. ibmcloud cis authenticated-origin-pull-settings DNS_DOMAIN_ID --level zone|hostname] --hostname HOSTNAME] -i, --instance INSTANCE] --output FORMAT] ! ! ! ! ! !
<-- <section "id="section-show-authenticated-origin-pull-settings-options" "> --> Command options DNS_DOMAIN_ID: The ID of DNS domain. Required.----level: Specify the authenticated origin pull certificate or settings per zone or hostname level. Valid values: "zone", "hostname". The default is "zone".--hostname: The authenticated origin pull settings on a hostname. (hostname level only)-i, --instance: Instance name or ID. If not set, the context instance specified by ibmcloud cis instance-set INSTANCE is used.--output: Specify output format, only JSON is supported.<-- </section "id="section-show-authenticated-origin-pull-settings-options" "> --><-- <section "id="section-show-authenticated-origin-pull-settings-examples" "> --> Examples List authenticated origin pull settings on zone level for domain 31984fea73a15b45779fa0df4ef62f9b.
Navigate to the Resource List in the [IBM Cloud console](https://%7BDomainName%7D/).
2. Select the instance of DNS Services you want to upgrade.
3. Select Plan from the navigation menu.
4. Select Standard DNS from the plan table.
5. Click Save and then click OK when prompted to verify 'Are you sure that you want to change plans?'.



See [Update DNS Services instances](https://cloud.ibm.com/docs/dns-svcs?topic=dns-svcs-cli-plugin-dns-services-cli-commandsupdate-DNS-services-instance) to update to the standard plan using the command-line interface.
* Where do I find cost estimates for DNS Services?

You can estimate the cost of a service using the cost estimator on the provisioning pages for DNS Services offerings. For example, log in to the [DNS Services](https://cloud.ibm.com/catalog/services/dns-services) console and click Estimate costs in the Summary panel. As you complete the form, cost estimates appear in the Summary side panel.
* Why am I getting timeout errors for my DNS queries from my VPC when my query rate is more or less than the noted rate limit?

The noted DNS queries per second per availability zone rate [limit](https://cloud.ibm.com/docs/dns-svcs?topic=dns-svcs-about-dns-serviceslimits) is currently the typical amount when using DNS Services resolvers from a VPC. Depending on how traffic is actually routed, what protocols the queries use, and other factors, the actual rate limit might vary around this number. After a DNS query rate exceeds this rate limit, DNS Services resolvers no longer respond to the excess DNS queries.



Direct Link



* How does the new Direct Link differ from Direct Link on Classic?

The Direct Link offering differs from Direct Link on Classic in that Direct Link is decoupled from classic IaaS, and exists only in the local cross-connect router (XCR).
--by-id
: Edit a single record by its ID.

--data
: Record data, such as an IP address.

--ttl
: TTL(Time-To-Live) in seconds, such as: 86400.

Examples:

ibmcloud sl dns record-edit ibm.com --by-id 12345678 --data 127.0.0.2 --ttl 3600

This command edits records under the zone: ibm.com, whose ID is 12345678, and sets its data to "127.0.0.2" and ttl to 3600.





 ibmcloud sl dns record-list 

List all the resource records in a zone:

ibmcloud sl dns record-list ZONE [OPTIONS]

Command options:

--data
: Filter by record data, such as an IP address.

--record
: Filter by host record, such as www.

--ttl
: Filter by TTL (Time-To-Live) in seconds, such as 86400.

--type
: Filter by record type, such as A or CNAME.

Examples:

ibmcloud sl dns record-list ibm.com --record elasticsearch --type A --ttl 900

This command lists all A records under the zone: ibm.com, and filters by host, elasticsearch, and ttl is 900 seconds.





 ibmcloud sl dns record-remove 

Remove resource record from a zone:

ibmcloud sl dns record-remove RECORD_ID

Examples:

ibmcloud sl dns record-remove 12345678

This command removes resource record with ID 12345678.





 ibmcloud sl dns zone-create 

Create a zone:

ibmcloud sl dns zone-create ZONE

Examples:

ibmcloud sl dns zone-create ibm.com

This command creates a zone that is named ibm.com.





 ibmcloud sl dns zone-delete 

Delete a zone:

ibmcloud sl dns zone-delete ZONE

Examples:
Adding domains to your CIS instance 

IBM Cloud® Internet Services supports multiple domains with the Standard Next and Enterprise Tier plans.

To add an additional domain to your CIS instance, go to the Overview page. Under the Domain section, select the plus (+) icon next to your domain. This reveals a section to connect an additional domain. Follow the steps in this section to complete adding a new domain:



*  Connect domain
*  Set up DNS records
*  Delegate domain management



After adding a new domain, use the list menu in the Domain section to switch between your domains. The Domain section is located on the Overview page and at the beginning of every page. Switching between domains allows you to configure settings for each domain.
[Sample domains expanded image](https://cloud.ibm.com/docs-content/v1/content/86dadb3996e7fa2b119c2c09bda56dbc01297416/dns/images/custom-name-server-expanded.png)

Figure 2. Domains page with the domain expanded
7. Select the Add/Edit NS option in the Custom Name Servers section of the page. A dialog appears.
8. To complete the appropriate action based on the task, refer to one of the following bullets:



* To add a custom name server, enter the hostname for the name server in the empty field.
* To delete a custom name server, delete the information from the field for the appropriate name server.
* To edit a custom name server, edit the details in the corresponding field for the appropriate name server.



9. Click the Associate button to save the changes, or click Cancel to cancel the action.





 Next steps 

After you update the name server details, they appear under the Custom Name Servers section of the domain. You can update the details at any time.
Examples 

Update caching settings for domain 31984fea73a15b45779fa0df4ef62f9b.

ibmcloud cis cache-settings-update 31984fea73a15b45779fa0df4ef62f9b --caching-level no-query-string --browser-expiration 1h -i "cis-demo"









 Custom page 

Manipulate how the Custom Page performs using the following custom-page commands:



 ibmcloud cis custom-page-update 

Update a specific custom page.

ibmcloud cis custom-page-update PAGE_ID PAGE_URL [-d, --domain DNS_DOMAIN_ID] [-i, --instance INSTANCE] [--output FORMAT]



 Command options 

PAGE_ID
: The name of the Custom Page type. Valid values: basic_challenge, country_challenge, ip_block, ratelimit_block, serve_stale_content, under_attack, waf_block, waf_challenge, 1000_errors, 500_errors. Required.

PAGE_URL
: A URL that is associated with the Custom Page. For example, http://www.example.com/example.html. Value default means to use the default page. Required.

-d, --domain
: DNS Domain ID.

-i, --instance
: Instance name or ID. If not set, the context instance specified by ibmcloud cis instance-set INSTANCE is used.

--output
: Specify output format, only JSON is supported.





 Examples 

Update basic_challenge page for domain 31984fea73a15b45779fa0df4ef62f9b.

ibmcloud cis custom-page-update "basic_challenge" "http://www.example.com/example.html" -d 31984fea73a15b45779fa0df4ef62f9b -i "cis-demo"







 ibmcloud cis custom-page 

Retrieve a specific custom page.
Managing custom name servers for a domain 

Domains running on the IBM Cloud® network can point to a maximum of five (5) custom name servers. Custom name servers can be added, deleted, or changed at any time. Follow these steps to add, edit, or delete custom name servers for a domain.



1. From your browser, open the [IBM Cloud® console](https://cloud.ibm.com/) and log in to your account.
2. Select the Menu icon ![Menu icon](https://cloud.ibm.com/docs-content/v1/content/icons/icon_hamburger.svg), then click Classic Infrastructure.
3. From the Classic Infrastructure menu, select Services > Domain Registration to open the Domains page.
4. Select the Domain Name to expand the domain into its snapshot view.
5. Select Unlocked from the Lock Domain.
6. Click the > character to expand the domain and configure name servers.

Zoom

![Sample domains collapsed image](https://cloud.ibm.com/docs-content/v1/content/86dadb3996e7fa2b119c2c09bda56dbc01297416/dns/images/custom-name-server-collapsed.png)

Figure 1. Domains page with the domain collapsed

Zoom

![Sample domains expanded image](https://cloud.ibm.com/docs-content/v1/content/86dadb3996e7fa2b119c2c09bda56dbc01297416/dns/images/custom-name-server-expanded.png)

Figure 2. Domains page with the domain expanded
7. Select the Add/Edit NS option in the Custom Name Servers section of the page. A dialog appears.
8. To complete the appropriate action based on the task, refer to one of the following bullets:



* To add a custom name server, enter the hostname for the name server in the empty field.
If you use the CIS TLS mode of End-to-End-flexible, you can switch to use the CIS TLS End-to-End CA signed mode, and obtain a CA signed certificate that is created outside of Cloud Internet Services (CIS).



1. Create the TLS/SSL certificate outside of CIS. See [How can I obtain a certificate for my custom domain?](https://cloud.ibm.com/docs/codeengine?topic=codeengine-domain-mappingsprepare-custom-domain-cert)
2. [Create the custom domain mapping](https://cloud.ibm.com/docs/codeengine?topic=codeengine-domain-mappingscustom-domain) in Code Engine with the certificate chain and the private key.
3. [Obtain the CNAME record for the custom domain mapping](https://cloud.ibm.com/docs/codeengine?topic=codeengine-domain-mappingscompleting-custom-domain-cname).
4. In CIS, update the DNS records to point to your Code Engine project. In CIS, go to the DNS records page (Reliability>DNS) and Add the CNAME record.
5. Change the CIS mode. Go to the TLS security page (Security>TLS). Select End-to-end CA signed as the TLS mode.



If you need to register multiple domains and subdomains, such as example.com and www.example.com, you must repeat the previous steps 2 and 3 for each subdomain. You can consider creating a single certificate that covers more than one domain. However, you can use that single certificate only one time in a region. If you plan to use your custom domains in more than one project in a single region, keep them separate.







 Testing your custom domain 

After the CNAME record updates are published, you can test the application with the custom domain mapping.

With a browser, call the application by targeting the custom domain by using curl.

curl -v -X GET https://www.example.com

Example output

Hello World from:
Select the Page rules Tab from the options.
3. In the table of rules (empty if this is the first), Select the "Create rule" button.
4. In the URL match field Enter <sub-domain>.<custom-domain>/. For example, web.example.com/.
5. Select from the options for "Rule Behavior Setting" the "Host Header Override." For your custom bucket hosting your static website content as a sub-domain and endpoint: <bucket-name>.s3-web.<bucket-region>.cloud-object-storage.appdomain.cloud. For example, using web-example-com as the name of the bucket hosting your static website, the example would appear as: web-example-com.s3-web.us-east.cloud-object-storage.appdomain.cloud.

You can find this information in your bucket configuration, or Quick View in the Console.
6. When you have confirmed your configuration options, select "Create."
7. Next, you will create the DNS CNAME record to forward traffic to your content in IBM Cloud Object Storage.







 Create a domain alias to proxy your content 

After you have directed your visitors to the right location using a "Page Rule," you will want to create an alias to guide your visitors to the location. For this example, we want to send your visitors to your new subdomain web to the existing domain, example.com that will point to



1. Select Reliability from the Navigation
2. Select the DNS Tab from the options.
3. Add a new DNS record, substituting your configuration for the exemplified values shown. The desired subdomain should be added in the "name" field. in this example, we used web as a new subdomain value. The "alias domain name" is the same as entered earlier, which in this example comprised a bucket name followed by a dot and then the endpoint, e.g. web-example-com.s3-web.us-east.cloud-object-storage.appdomain.cloud.



* Type: CNAME
* Name: <sub-domain>
After the Code Engine custom domain mapping is created, a CNAME record that matches the fully qualified domain name must be added to the DNS settings of the custom domain. You can find the DNS settings in the configuration settings of the corresponding domain registrar. Complete this step so that traffic that targets your custom domain is routed to the Code Engine application as defined in your Code Engine custom domain mapping.



 How do I obtain the CNAME record for the custom domain mapping? 

Code Engine provides the CNAME target for your custom domain mapping.

To obtain the CNAME record from the Code Engine console, open your defined custom domain mapping and view the Update domain mapping page. Open the Update domain mapping page in one of the following ways:



* From the Domain mappings table, click in the row of your defined custom domain.
* Click the Actions icon ![Actions](https://cloud.ibm.com/docs-content/v1/content/ad5f41087138b4b1bb795e3b5b0661ac5a105cbd/icons/action-menu-icon.svg) > Edit to edit the mapping.



From the Update domain mappings page, you can obtain the CNAME target value. For example, the www.example.com mapping has the custom.abcdabcdabc.us-east.codeengine.appdomain.cloud CNAME value, where abcdabcdabc is an automatically generated unique identifier and us-east is the region of your project.

To obtain the CNAME record with the CLI, use the [ibmcloud ce domainmapping get](https://cloud.ibm.com/docs/codeengine?topic=codeengine-clicli-domainmapping-get) command. For example,

ibmcloud ce domainmapping get --domain-name www.example.com

Example output

Getting domain mapping 'www.example.com'...
OK

Domain Name: www.example.com
CNAME: custom.abcdabcdabc.us-south.codeengine.appdomain.cloud
Target Name: myapp
Target Type: app
ibmcloud is instance-initialization-values <INSTANCE_ID> --private-key @/.ssh/id_rsa





 Add a domain controller 

To add a domain controller to the existing forest\domain, the following commands are used:



* The Get-DnsClientServerAddress captures the Interface Index for the IPv4 Ethernet interface, so that the DNS can be changed from the IBM Cloud DNS server to the ADDNS server. The Install-ADDSDomainController uses DNS to lookup the IP address of an existing domain controller.
* Use Set-DnsClientServerAddress to set the <ADDNS_IP_Address> to the existing ADDNS server.
* Create a secure string for the domain administrator's password for use in the credential variable $credential.
* Install the AD features on the server using the Install-WindowsFeature command.
* Install the server as a domain controller in the <Domain_Name> domain (for example, sqlserver.test) using a Safe Mode administrator password of <SafeModeAdministratorPassword>. This password should adhere to your required standards and kept securely.
* The server will restart.



$dns = "<ADDNS_IP_Address>"
$domainnb = "<NB_Domain>"
$user = $domainnb + "Administrator"
$password = "<password>"
$domainfull = <Domain_Name>
$smpassword = "<Safe_Mode_Admin_Password>"
$out=Get-DnsClientServerAddress -InterfaceAlias Ethernet -AddressFamily IPv4 | Select-Object -Property InterfaceIndex
Set-DnsClientServerAddress -InterfaceIndex $out.InterfaceIndex -ServerAddresses ($dns)
$secpassword = ConvertTo-SecureString $password -AsPlainText -Force
$credential = New-Object System.Management.Automation.PSCredential ($user, $secpassword)
Install-WindowsFeature AD-Domain-Services -IncludeManagementTools
So this is a second general step to correct an incorrectly designated DNS record forward.

What happens if I don't update this custom domain redirect by the deadline?
: Your custom domain URL redirect will stop working on the deadline listed.

If my custom domain URL redirect stopped working because the deadline has passed, how can I fix it?
: Follow the listed instructions, it will begin working again after completing the steps.





 Customer Support 

These materials and resources should help you through your IBM Cloud Foundry migration. If you have questions, or need help, contact [IBM Cloud® Customer Support](https://www.ibm.com/cloud/support) for additional information and assistance.
Adding and using a custom domain 

IBM® Cloud Foundry is deprecated and no longer supported as of 1 June 2023. For more information, see the [deprecation details](https://cloud.ibm.com/docs/cloud-foundry-public?topic=cloud-foundry-public-deprecationdep_details).

Domains provide the URL route that is allocated to your organization in IBM Cloud®. Custom domains direct requests for your apps to a URL that you own. A custom domain can be a shared domain, a shared subdomain, or a shared domain and host. Unless a custom domain is specified, IBM Cloud uses a default shared domain in the route to your app. You can create and use a custom domain by using either the IBM Cloud console or the command-line interface.

The default shared domain is mybluemix.net, but appdomain.cloud is another domain option that you can use. For more information about migrating to appdomain.cloud, see [Updating your domain](https://cloud.ibm.com/docs/cloud-foundry-public?topic=cloud-foundry-public-update-domain).

To use a custom domain, you must register the custom domain on a public DNS server, and then configure the custom domain in IBM Cloud. Next, you must map the custom domain to the IBM Cloud system domain on the public DNS server. After your custom domain is mapped to the system domain, requests for your custom domain are routed to your app in IBM Cloud.



 Adding a custom domain from the IBM Cloud console 

Complete these steps to add a custom domain for your org by using the console:



1. Go to Manage > Account, and select Cloud Foundry orgs.
2. Click the name of the org for which you're creating a custom domain.
3. Click the Domains tab to view a list of available domains.
4. Click Add a domain, enter your domain name, and select the region.
5. Confirm your updates, and click Add.







 Adding the route with the custom domain to an app 



1.
Update basic_challenge page for domain 31984fea73a15b45779fa0df4ef62f9b.

ibmcloud cis custom-page-update "basic_challenge" "http://www.example.com/example.html" -d 31984fea73a15b45779fa0df4ef62f9b -i "cis-demo"







 ibmcloud cis custom-page 

Retrieve a specific custom page.

ibmcloud cis custom-page PAGE_ID [-d, --domain DNS_DOMAIN_ID] [-i, --instance INSTANCE] [--output FORMAT]



 Command options 

PAGE_ID
: The name of the Custom Page type. Valid values: basic_challenge, country_challenge, ip_block, ratelimit_block, serve_stale_content, under_attack, waf_block, waf_challenge, 1000_errors, 500_errors. Required.

-d, --domain
: DNS Domain ID.

-i, --instance
: Instance name or ID. If not set, the context instance specified by ibmcloud cis instance-set INSTANCE is used.

--output
: Specify output format, only JSON is supported.





 Examples 

Get basic_challenge page for domain 31984fea73a15b45779fa0df4ef62f9b.

ibmcloud cis custom-page "basic_challenge" -d 31984fea73a15b45779fa0df4ef62f9b -i "cis-demo"







 ibmcloud cis custom-pages 

Retrieve a list of currently existing custom pages.

ibmcloud cis custom-pages [-d, --domain DNS_DOMAIN_ID] [-i, --instance INSTANCE] [--output FORMAT]



 Command options 

`-d, --domain
: DNS Domain ID.

-i, --instance
: Instance name or ID. If not set, the context instance specified by ibmcloud cis instance-set INSTANCE is used.

--output
Go to Manage > Account, and select Cloud Foundry orgs.
2. Click the name of the org for which you're creating a custom domain.
3. Click the Domains tab to view a list of available domains.
4. Click Add a domain, enter your domain name, and select the region.
5. Confirm your updates, and click Add.







 Adding the route with the custom domain to an app 



1. From the [IBM Cloud console](https://cloud.ibm.com), click the Menu icon ![Menu icon](https://cloud.ibm.com/docs-content/v1/content/icons/icon_hamburger.svg), and select Resource List.
2. On the Resource List page, click Cloud Foundry Apps.
3. Click the app that you want to add the route to. The app's Overview page is displayed.
4. Select the Routes menu, and select Edit routes.
5. Click Add route, and specify the route that you want to use for the app.
6. Confirm your updates by clicking Save.



As an example, you can use .mycompany.com to associate the route www.mybluemix.net to your app. You can also use example.mycompany.com to associate the route www.example.bluemix.net to your app.





 Adding a custom domain from the IBM Cloud command-line interface 



1. For Cloud Foundry apps, connect to your targeted Cloud Foundry API endpoint by typing the following command:

ibmcloud target --cf-api <CF_ENDPOINT>

Cloud Foundry API endpoints:



* US-SOUTH - api.us-south.cf.cloud.ibm.com
* US-EAST - api.us-east.cf.cloud.ibm.com
* EU-DE - api.eu-de.cf.cloud.ibm.com
* EU-GB - api.eu-gb.cf.cloud.ibm.com
* AU-SYD - api.au-syd.cf.cloud.ibm.com



2.
The desired subdomain should be added in the "name" field. in this example, we used web as a new subdomain value. The "alias domain name" is the same as entered earlier, which in this example comprised a bucket name followed by a dot and then the endpoint, e.g. web-example-com.s3-web.us-east.cloud-object-storage.appdomain.cloud.



* Type: CNAME
* Name: <sub-domain>
* TTL: Automatic
* Alias Domain Name: <bucket-name>.s3-web.<bucket-region>.cloud-object-storage.appdomain.cloud



4. Click "Add" to save the DNS entry when you've completed the configuration.
5. In the table of rules where your new entry appears, enable the Proxy option as "on."



To test the rule you just created, allow some time for the configuration to propagate. Then, use a browser to visit the subdomain exemplified by web.example.com to validate the settings.







 Next steps 

Learn more about [IBM Cloud Internet Services](https://cloud.ibm.com/docs/cis?topic=cis-about-ibm-cloud-internet-services-cis), or jump right in using Cloud Internet Services (CIS) to [get started](https://cloud.ibm.com/docs/cis?topic=cis-getting-started) managing your presence on the Internet.