Operations 5 min read

How to Enable Local DNS and Portal Authentication with Huawei Access Controller

This guide explains a UK project’s requirements for displaying a non‑public domain on the portal authentication page, using Huawei Access Controller to provide local DNS resolution, DNS relay, and dynamic DNS configuration, along with step‑by‑step configuration details and verification procedures.

Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
How to Enable Local DNS and Portal Authentication with Huawei Access Controller

Background

In a UK XXX project, the customer required that the portal authentication page display a domain name (e.g., www.yuming.com) without using a public IP address. The domain is non‑public, provided by the customer, and should be resolved locally via DNS before falling back to public DNS (e.g., 8.8.8.8).

Customer Requirements

Portal authentication page must show the domain name.

The domain is non‑public and requires local DNS resolution, but the customer has no dedicated DNS server.

When accessing the website, DNS resolution should first be attempted locally; if it fails, it should fall back to public DNS.

Solution

Huawei proposes the following solution using the Access Controller (AC):

AC supports local DNS resolution with a configurable static DNS list.

AC acts as a DNS relay, forwarding DNS requests on behalf of users.

AC first queries DNS locally; if the query fails, it forwards the request to public DNS for resolution.

Key Configuration

Configure the following on the AC:

Enable DNS dynamic resolution, DNS list, and DNS relay functions.

Set up a static DNS resolution list.

Configure the appropriate portal free rule.

Configure the web template.

Configure DNS on the user VLAN interface.

Relevant configuration screenshots are shown below:

Terminal Association Verification

Verification steps:

After the user connects to Wi‑Fi, the AC has no user entry but can ping DNS and portal servers.

Entering local domain names such as “lmt.test.com” or “www.baidu.com” redirects to the portal authentication page (e.g., wireless.scc.com).

After entering correct credentials, authentication succeeds and the AC creates a user entry.

Entering the local domain “lmt.test.com” redirects to the AC’s web page (e.g., 192.168.7.25).

Validate the DNS resolution results.

Verification screenshots are included below.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

DNSNetwork ConfigurationHuaweiAccess ControllerPortal Authentication
Huawei Cloud Developer Alliance
Written by

Huawei Cloud Developer Alliance

The Huawei Cloud Developer Alliance creates a tech sharing platform for developers and partners, gathering Huawei Cloud product knowledge, event updates, expert talks, and more. Together we continuously innovate to build the cloud foundation of an intelligent world.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.