; (2) the term Director means the Director of the Cybersecurity and Infrastructure Security Agency; (3) the term online service means any internet-facing service, including a website, email, a virtual private network, or a custom application; and (4) the term State means any State of the United States, the District of Columbia, the Commonwealth of Puerto Rico, the Virgin Islands, Guam, American Samoa, the Commonwealth of the Northern Mariana Islands, and any possession of the United States. 4. Duties of Department of Homeland Security (a) Purpose The purpose of the .gov internet domain program is to— (1) legitimize and enhance public trust in government entities and their online services; (2) facilitate trusted electronic communication and connections to and from government entities; (3) provide simple and secure registration of .gov internet domains; (4) improve the security of the services hosted within these domains, and of the .gov namespace in general; and (5) enable the discoverability of government services to the public and to domain registrants. (b) Duties and authorities relating to the .gov domain (1) In general Subtitle A of title XXII of the Homeland Security Act ( 6 U.S.C. 651 et seq.) is amended— (A) in section 2202(c) ( 6 U.S.C. 652(c) )— (i) in paragraph (10), by striking and at the end; (ii) by redesignating paragraph (11) as paragraph (12); and (iii) by inserting after paragraph (10) the following: (11) carry out the duties and authorities relating to the .gov domain, as described in section 2215; and