By default ospf display Router-ID like IP address.
It’s possible to change this behavior and replace by a name.
Before:
R1#sh ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 10.0.31.31 0 FULL/ - 00:00:39 10.0.99.2 Ethernet0/1 10.0.130.130 0 FULL/ - 00:00:36 10.0.10.2 Ethernet0/2
After:
ip host R3 10.0.130.130 ip host R2 10.0.31.31 ip ospf name-lookup R1#sh ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface R2 0 FULL/ - 00:00:38 10.0.99.2 Ethernet0/1 R3 0 FULL/ - 00:00:36 10.0.10.2 Ethernet0/2
Of course, fix the router-id.